>>> art_standalone: Building testing/art_standalone 0_git20251009-r0 (using abuild 3.16.0-r0) started Thu, 08 Jan 2026 12:04:34 +0000 >>> art_standalone: Validating /home/buildozer/aports/testing/art_standalone/APKBUILD... >>> art_standalone: Analyzing dependencies... >>> art_standalone: Installing for build: build-base java-cacerts wolfssl-jni bash vixl-dev bionic_translation-dev bsd-compat-headers expat-dev icu-dev java-common libbsd-dev libcap-dev libpng-dev libselinux-dev libunwind-dev lz4-dev meson openjdk8-jdk openssl-dev python3 valgrind-dev wolfssl-jni-dev xz-dev zip zlib-dev ( 1/114) Installing libffi (3.5.2-r0) ( 2/114) Installing libtasn1 (4.20.0-r0) ( 3/114) Installing p11-kit (0.25.5-r2) ( 4/114) Installing p11-kit-trust (0.25.5-r2) ( 5/114) Installing ca-certificates (20251003-r0) ( 6/114) Installing java-cacerts (1.1-r0) ( 7/114) Installing wolfssl-jni (5.8.4-r1) ( 8/114) Installing bash (5.3.3-r1) Executing bash-5.3.3-r1.post-install ( 9/114) Installing vixl (8.0.0-r0) ( 10/114) Installing vixl-dev (8.0.0-r0) ( 11/114) Installing xz-libs (5.8.1-r0) ( 12/114) Installing libxml2 (2.13.9-r0) ( 13/114) Installing llvm21-libs (21.1.8-r0) ( 14/114) Installing spirv-tools (1.4.321.0-r1) ( 15/114) Installing libxau (1.0.12-r0) ( 16/114) Installing libmd (1.1.0-r0) ( 17/114) Installing libbsd (0.12.2-r0) ( 18/114) Installing libxdmcp (1.1.5-r1) ( 19/114) Installing libxcb (1.17.0-r1) ( 20/114) Installing libx11 (1.8.12-r1) ( 21/114) Installing hwdata-pci (0.401-r0) ( 22/114) Installing libpciaccess (0.18.1-r1) ( 23/114) Installing libdrm (2.4.131-r0) ( 24/114) Installing libelf (0.194-r2) ( 25/114) Installing libxshmfence (1.3.3-r0) ( 26/114) Installing mesa (25.2.7-r3) ( 27/114) Installing mesa-gles (25.2.7-r3) ( 28/114) Installing mesa-gbm (25.2.7-r3) ( 29/114) Installing wayland-libs-client (1.24.0-r0) ( 30/114) Installing mesa-egl (25.2.7-r3) ( 31/114) Installing libucontext (1.5-r0) ( 32/114) Installing libunwind (1.8.1-r0) ( 33/114) Installing bionic_translation (0_git20251125-r0) ( 34/114) Installing bionic_translation-dev (0_git20251125-r0) ( 35/114) Installing bsd-compat-headers (0.7.2-r6) ( 36/114) Installing expat (2.7.3-r0) ( 37/114) Installing expat-dev (2.7.3-r0) ( 38/114) Installing icu-data-en (76.1-r2) Executing icu-data-en-76.1-r2.post-install * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. ( 39/114) Installing icu-libs (76.1-r2) ( 40/114) Installing icu (76.1-r2) ( 41/114) Installing icu-dev (76.1-r2) ( 42/114) Installing java-common (1.0-r1) ( 43/114) Installing linux-headers (6.18.3-r0) ( 44/114) Installing libmd-dev (1.1.0-r0) ( 45/114) Installing libbsd-dev (0.12.2-r0) ( 46/114) Installing libcap-dev (2.77-r0) ( 47/114) Installing libpng (1.6.53-r0) ( 48/114) Installing zlib-dev (1.3.1-r2) ( 49/114) Installing libpng-dev (1.6.53-r0) ( 50/114) Installing musl-fts (1.2.7-r7) ( 51/114) Installing libselinux (3.6-r1) ( 52/114) Installing libformw (6.6_p20251231-r0) ( 53/114) Installing libmenuw (6.6_p20251231-r0) ( 54/114) Installing libpanelw (6.6_p20251231-r0) ( 55/114) Installing libncurses++ (6.6_p20251231-r0) ( 56/114) Installing ncurses-dev (6.6_p20251231-r0) ( 57/114) Installing libedit-dev (20251016.3.1-r0) ( 58/114) Installing libpcre2-16 (10.47-r0) ( 59/114) Installing libpcre2-32 (10.47-r0) ( 60/114) Installing pcre2-dev (10.47-r0) ( 61/114) Installing libsepol (3.6-r1) ( 62/114) Installing libsepol-dev (3.6-r1) ( 63/114) Installing libselinux-dev (3.6-r1) ( 64/114) Installing libucontext-dev (1.5-r0) ( 65/114) Installing libunwind-dev (1.8.1-r0) ( 66/114) Installing lz4-dev (1.10.0-r0) ( 67/114) Installing samurai (1.2-r7) ( 68/114) Installing libbz2 (1.0.8-r6) ( 69/114) Installing gdbm (1.26-r0) ( 70/114) Installing mpdecimal (4.0.1-r0) ( 71/114) Installing sqlite-libs (3.51.1-r0) ( 72/114) Installing python3 (3.12.12-r0) ( 73/114) Installing python3-pycache-pyc0 (3.12.12-r0) ( 74/114) Installing pyc (3.12.12-r0) ( 75/114) Installing meson-pyc (1.10.0-r0) ( 76/114) Installing python3-pyc (3.12.12-r0) ( 77/114) Installing meson (1.10.0-r0) ( 78/114) Installing freetype (2.14.1-r1) ( 79/114) Installing fontconfig (2.17.1-r0) ( 80/114) Installing encodings (1.1.0-r0) ( 81/114) Installing libfontenc (1.1.8-r0) ( 82/114) Installing mkfontscale (1.2.3-r1) ( 83/114) Installing font-dejavu (2.37-r6) ( 84/114) Installing libxcomposite (0.4.6-r5) ( 85/114) Installing libxext (1.3.6-r2) ( 86/114) Installing libxi (1.8.2-r0) ( 87/114) Installing libxrender (0.9.12-r0) ( 88/114) Installing libxtst (1.2.5-r0) ( 89/114) Installing alsa-lib (1.2.15.1-r0) ( 90/114) Installing giflib (5.2.2-r1) ( 91/114) Installing libjpeg-turbo (3.1.3-r0) ( 92/114) Installing openjdk8-jre-lib (8.472.08-r0) ( 93/114) Installing nspr (4.38.2-r0) ( 94/114) Installing nss (3.119.1-r0) ( 95/114) Installing krb5-conf (1.0-r2) ( 96/114) Installing libcom_err (1.47.3-r0) ( 97/114) Installing keyutils-libs (1.6.3-r4) ( 98/114) Installing libverto (0.3.2-r2) ( 99/114) Installing krb5-libs (1.22.1-r0) (100/114) Installing lcms2 (2.17-r0) (101/114) Installing pcsc-lite-libs (2.4.0-r4) (102/114) Installing liblksctp (1.0.19-r5) (103/114) Installing openjdk8-jre-base (8.472.08-r0) (104/114) Installing openjdk8-jre (8.472.08-r0) (105/114) Installing openjdk8-jdk (8.472.08-r0) (106/114) Installing openssl-dev (3.5.4-r0) (107/114) Installing valgrind-dev (3.25.1-r2) (108/114) Installing wolfssl-jni-dev (5.8.4-r1) (109/114) Installing xz (5.8.1-r0) (110/114) Installing xz-dev (5.8.1-r0) (111/114) Installing unzip (6.0-r16) (112/114) Installing zip (3.0-r13) (113/114) Installing .makedepends-art_standalone (20260108.120435) (114/114) Installing abuild-meson (1.10.0-r0) Executing busybox-1.37.0-r30.trigger Executing ca-certificates-20251003-r0.trigger Executing java-common-1.0-r1.trigger Executing fontconfig-2.17.1-r0.trigger Executing mkfontscale-1.2.3-r1.trigger OK: 884.8 MiB in 223 packages >>> art_standalone: Cleaning up srcdir >>> art_standalone: Cleaning up pkgdir >>> art_standalone: Cleaning up tmpdir >>> art_standalone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc.tar.gz /var/cache/distfiles/edge/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc.tar.gz: OK >>> art_standalone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc.tar.gz /var/cache/distfiles/edge/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc.tar.gz: OK >>> art_standalone: Unpacking /var/cache/distfiles/edge/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc.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=armv8 TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=arm64 HOST_OS=linux HOST_OS_EXTRA=Linux-6.12.46-0-lts-aarch64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ Checking build tools versions... including ./adb/Android.mk ... including ./art/adbconnection/Android.mk ... including ./art/benchmark/Android.mk ... including ./art/build/Android.mk ... including ./art/cmdline/Android.mk ... including ./art/compiler/Android.mk ... including ./art/dalvikvm/Android.mk ... including ./art/dex2oat/Android.mk ... including ./art/dexdump/Android.mk ... including ./art/dexlayout/Android.mk ... including ./art/dexlist/Android.mk ... including ./art/dexoptanalyzer/Android.mk ... including ./art/disassembler/Android.mk ... including ./art/dt_fd_forward/Android.mk ... including ./art/imgdiag/Android.mk ... including ./art/libartbase/Android.mk ... including ./art/libartpalette/Android.mk ... including ./art/libdexfile/Android.mk ... including ./art/libelffile/Android.mk ... including ./art/libprofile/Android.mk ... including ./art/oatdump/Android.mk ... including ./art/openjdkjvm/Android.mk ... including ./art/openjdkjvmti/Android.mk ... including ./art/profman/Android.mk ... including ./art/runtime/Android.mk ... including ./art/sigchainlib/Android.mk ... including ./art/simulator/Android.mk ... including ./art/tools/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-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/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/wolfssljni/Android.mk ... including ./incfs/Android.mk ... including ./libandroidfw/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 ./libziparchive/Android.mk ... including ./prebuilts/misc/common/jarjar/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/STATIC_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/STATIC_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 Export includes file: art/libprofile/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libprofile_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: art/dexlayout/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libart-dexlayout_intermediates/export_includes Export includes file: art/runtime/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/export_includes Export includes file: art/libdexfile/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/export_includes Export includes file: art/libartbase/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/export_includes Export includes file: art/libartpalette/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libartpalette_intermediates/export_includes Export includes file: libbase/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libbase_intermediates/export_includes Export includes file: art/sigchainlib/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/export_includes Export includes file: art/dex2oat/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/export_includes Export includes file: libziparchive/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbase_intermediates/import_includes target Generated: libartbase <= art/libartbase/arch/instruction_set.h target Generated: libartbase <= art/libartbase/base/allocator.h target Generated: libartbase <= art/libartbase/base/unix_file/fd_file.h Export includes file: system/core/libutils/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/export_includes Export includes file: system/core/libutils/binder/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_binder_intermediates/export_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_binder_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libartpalette_intermediates/import_includes target Generated: libdexfile <= art/libdexfile/dex/dex_file.h target Generated: libdexfile <= art/libdexfile/dex/dex_file_layout.h target Generated: libdexfile <= art/libdexfile/dex/dex_instruction.h target Generated: libdexfile <= art/libdexfile/dex/dex_instruction_utils.h target Generated: libdexfile <= art/libdexfile/dex/invoke_type.h target Generated: libdexfile <= art/libdexfile/dex/method_reference.h Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/import_includes target Generated: libart-compiler <= art/tools/cpp-define-generator/asm_defines.cc target Generated: libart-compiler <= art/compiler/driver/compiler_options.h target Generated: libart-compiler <= art/compiler/linker/linker_patch.h target Generated: libart-compiler <= art/compiler/optimizing/locations.h target Generated: libart-compiler <= art/compiler/optimizing/optimizing_compiler_stats.h target Generated: libart-compiler <= art/compiler/utils/arm/constants_arm.h target Generated: libart-compiler <= art/compiler/utils/mips/assembler_mips.h target Generated: libart-compiler <= art/compiler/utils/mips64/assembler_mips64.h cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Export includes file: art/libelffile/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libelffile_intermediates/export_includes target Generated: libart <= art/tools/cpp-define-generator/asm_defines.cc target Generated: libart <= target Generated: libart <= art/runtime/base/callee_save_type.h target Generated: libart <= art/runtime/base/locks.h target Generated: libart <= art/runtime/class_loader_context.h target Generated: libart <= art/runtime/class_status.h target Generated: libart <= art/runtime/debugger.h target Generated: libart <= art/runtime/gc_root.h target Generated: libart <= art/runtime/gc/allocator_type.h cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ 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/jdwp_provider.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/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/trace.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 Export includes file: system/core/libcutils/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libcutils_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libunwind_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libcutils_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libsigchain_intermediates/import_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libelffile_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-dexlayout_intermediates/import_includes target Generated: libart-dex2oat <= art/tools/cpp-define-generator/asm_defines.cc target Generated: libart-dex2oat <= art/dex2oat/dex/dex_to_dex_compiler.h target Generated: libart-dex2oat <= art/dex2oat/driver/compiler_driver.h target Generated: libart-dex2oat <= art/dex2oat/linker/image_writer.h Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/import_includes Export includes file: art/dex2oat/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/dex2oat_intermediates/export_includes Notice file: libbase/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libbase.so.txt Notice file: system/core/libutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libutils.so.txt Notice file: system/core/libcutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libcutils.so.txt cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Notice file: external/libunwind/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libunwind.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/openjdkjvm/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 Notice file: art/openjdkjvm/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libopenjdkjvm.so.txt Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libopenjdkjvm_intermediates/import_includes Export includes file: art/openjdkjvm/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libopenjdkjvm_intermediates/export_includes 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/junit/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/junit-runner-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 In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def:26, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" Export includes file: incfs/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libincfs-utils_intermediates/export_includes art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop Export includes file: libandroidfw/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_pathutils_intermediates/export_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libincfs-utils_intermediates/import_includes In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def:26, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop Export includes file: libandroidfw/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libandroidfw_intermediates/export_includes Notice file: libandroidfw/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libandroidfw.so.txt Notice file: libandroidfw/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libandroidfw_pathutils.a.txt sed -e 's|@prefix@|/usr|g' \ -e 's|@libdir@|lib|g' \ -e 's|@includedir@|include|g' \ -e 's|@version@|0.0.0|g' \ art-standalone.pc.in > art-standalone.pc 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 Import includes file: out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes host C++: libsigchain <= art/sigchainlib/sigchain.cc 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/libprofile_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/abi_compatibility.cpp host C++: libbase <= libbase/chrono_utils.cpp host C++: libbase <= libbase/cmsg.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/errors_unix.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for 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) { | ^~ In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def:26, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libbase <= libbase/file.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/hex.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/logging.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/mapped_file.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/parsebool.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/parsenetaddress.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/posix_strerror_r.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/process.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/stringprintf.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/strings.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbase <= libbase/test_utils.cpp Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/import_includes host C++: libbase <= libbase/threads.cpp Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils_binder <= system/core/libutils/binder/Errors.cpp host C++: libutils_binder <= system/core/libutils/binder/RefBase.cpp host C++: libutils_binder <= system/core/libutils/binder/SharedBuffer.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils_binder <= system/core/libutils/binder/String16.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils_binder <= system/core/libutils/binder/String8.cpp host C++: libutils_binder <= system/core/libutils/binder/StrongPointer.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils_binder <= system/core/libutils/binder/Unicode.cpp host C++: libutils_binder <= system/core/libutils/binder/VectorImpl.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes host C++: libartpalette <= art/libartpalette/system/palette_fake.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbacktrace_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libnativebridge <= system/core/libnativebridge/native_bridge.cc host C: libunwind <= external/libunwind/src/mi/init.c host C: libunwind <= external/libunwind/src/mi/flush_cache.c cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for 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 libbase/abi_compatibility.cpp:82: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 82 | #pragma clang diagnostic ignored "-Wreturn-type-c-linkage" 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 system/core/liblog/fake_log_device.c: In function 'showLog': system/core/liblog/fake_log_device.c:457:30: warning: argument 1 value '18446744073709551584' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 457 | vec = (struct iovec*)malloc(sizeof(struct iovec)*numVecs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from system/core/liblog/fake_log_device.c:24: /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ 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 In file included from /usr/include/bsd/sys/cdefs.h:54, from /usr/include/bsd/libutil.h:45, from /usr/include/bsd/stdlib.h:39, from libbase/logging.cpp: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 | ^~~~~~~ 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 art/sigchainlib/sigchain.cc: In instantiation of 'void art::lookup_next_symbol(T*, T, const char*) [with T = int (*)(int, const sigaction*, sigaction*)]': art/sigchainlib/sigchain.cc:117:23: required from here 117 | lookup_next_symbol(&linked_sigaction, sigaction, "sigaction"); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] 103 | static void lookup_next_symbol(T* output, T wrapper, const char* name) { | ~~^~~~~~~ art/sigchainlib/sigchain.cc: In instantiation of 'void art::lookup_next_symbol(T*, T, const char*) [with T = int (*)(int, const __sigset_t*, __sigset_t*)]': art/sigchainlib/sigchain.cc:118:23: required from here 118 | lookup_next_symbol(&linked_sigprocmask, sigprocmask, "sigprocmask"); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] 103 | static void lookup_next_symbol(T* output, T wrapper, const char* name) { | ~~^~~~~~~ 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/aarch64/is_fpreg.c In file included from libbase/include/android-base/cmsg.h:27, from libbase/cmsg.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ external/libunwind/src/ptrace/_UPT_access_fpreg.c: In function '_UPT_access_fpreg': external/libunwind/src/ptrace/_UPT_access_fpreg.c:113:10: note: '#pragma message: _UPT_access_fpreg is not implemented and not currently used.' 113 | # pragma message("_UPT_access_fpreg is not implemented and not currently used.") | ^~~~~~~ host C: libunwind <= external/libunwind/src/aarch64/regname.c host C: libunwind <= external/libunwind/src/aarch64/Gcreate_addr_space.c host C: libunwind <= external/libunwind/src/aarch64/Gget_proc_info.c host C: libunwind <= external/libunwind/src/aarch64/Gget_save_loc.c host C: libunwind <= external/libunwind/src/aarch64/Gglobal.c host C: libunwind <= external/libunwind/src/aarch64/Ginit.c host C: libunwind <= external/libunwind/src/aarch64/Ginit_local.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/aarch64/Ginit_remote.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/card_table.h:22, from art/tools/cpp-define-generator/globals.def:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/card_table.h:22, from art/tools/cpp-define-generator/globals.def:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libunwind <= external/libunwind/src/aarch64/Gregs.c art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from libbase/include/android-base/file.h:26, from libbase/file.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libunwind <= external/libunwind/src/aarch64/Gresume.c host C: libunwind <= external/libunwind/src/aarch64/Gstep.c host C: libunwind <= external/libunwind/src/aarch64/Lcreate_addr_space.c host C: libunwind <= external/libunwind/src/aarch64/Lget_proc_info.c host C: libunwind <= external/libunwind/src/aarch64/Lget_save_loc.c host C: libunwind <= external/libunwind/src/aarch64/Lglobal.c host C: libunwind <= external/libunwind/src/aarch64/Linit.c host C: libunwind <= external/libunwind/src/aarch64/Linit_local.c host C: libunwind <= external/libunwind/src/aarch64/Linit_remote.c host C: libunwind <= external/libunwind/src/aarch64/Lregs.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/card_table.h:22, from art/tools/cpp-define-generator/globals.def:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C: libunwind <= external/libunwind/src/aarch64/Lresume.c host C: libunwind <= external/libunwind/src/aarch64/Lstep.c host C: libunwind <= external/libunwind/src/aarch64/Gis_signal_frame.c host C: libunwind <= external/libunwind/src/aarch64/Lis_signal_frame.c host C: libunwind <= external/libunwind/src/elf64.c host C: libcutils <= system/core/libcutils/atomic.c host C: libcutils <= system/core/libcutils/hashmap.c host C: libcutils <= system/core/libcutils/native_handle.c host C: libcutils <= system/core/libcutils/config_utils.c In file included from libbase/include/android-base/mapped_file.h:25, from libbase/mapped_file.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libcutils <= system/core/libcutils/load_file.c host C: libcutils <= system/core/libcutils/strlcpy.c 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 system/core/libcutils/config_utils.c: In function 'config_node': system/core/libcutils/config_utils.c:30:26: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 30 | node = calloc(sizeof(cnode), 1); | ^~~~~ system/core/libcutils/config_utils.c:30:26: note: earlier argument should specify number of elements, later size of each element host C: libcutils <= system/core/libcutils/record_stream.c host C: libcutils <= system/core/libcutils/process_name.c In file included from libbase/include/android-base/cmsg.h:27, from libbase/abi_compatibility.cpp:19: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ 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 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_local_server.c host C: libcutils <= system/core/libcutils/socket_loopback_client.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/socket_loopback_server.c host C: libcutils <= system/core/libcutils/socket_network_client.c In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/tools/cpp-define-generator/globals.def:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/tools/cpp-define-generator/globals.def:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C: libcutils <= system/core/libcutils/sockets.c In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C: libcutils <= system/core/libcutils/ashmem-host.c In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C: libcutils <= system/core/libcutils/trace-host.c host C: libcutils <= system/core/libcutils/dlmalloc_stubs.c In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libsigchain <= art/sigchainlib/sigchain.cc host C++: libelffile <= art/libelffile/elf/xz_utils.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libelffile <= art/libelffile/stream/buffered_output_stream.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libelffile <= art/libelffile/stream/file_output_stream.cc 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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libelffile <= art/libelffile/stream/output_stream.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libelffile <= art/libelffile/stream/vector_output_stream.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/tools/cpp-define-generator/globals.def:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/compact_dex_writer.cc In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/dexlayout.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/dex_ir.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/dex_ir_builder.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/dex_verify.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-dexlayout <= art/dexlayout/dex_visualize.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dexlayout <= art/dexlayout/dex_writer.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/IcuUtilities.cpp host C++: libjavacore <= libcore/luni/src/main/native/JniException.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/NetworkUtilities.cpp host C++: libjavacore <= libcore/luni/src/main/native/Register.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/ZipUtilities.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/android_system_OsConstants.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/cbigint.cpp host C++: libjavacore <= libcore/luni/src/main/native/java_lang_StringToReal.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp host C++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Matcher.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Pattern.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_ICU.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_NativeConverter.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_TimeZoneNames.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_AsynchronousCloseMonitor.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Linux.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Memory.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/libcore_util_NativeAllocationRegistry.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libjavacore <= libcore/luni/src/main/native/sun_misc_Unsafe.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdk_intermediates/import_includes host C++: libjavacore <= libcore/luni/src/main/native/valueOf.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libopenjdkjvm <= art/openjdkjvm/OpenjdkJvm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C: libfdlibm <= external/fdlibm/k_standard.c host C: libfdlibm <= external/fdlibm/k_rem_pio2.c cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C: libfdlibm <= external/fdlibm/k_cos.c host C: libfdlibm <= external/fdlibm/k_sin.c host C: libfdlibm <= external/fdlibm/k_tan.c host C: libfdlibm <= external/fdlibm/e_acos.c host C: libfdlibm <= external/fdlibm/e_acosh.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/e_asin.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_atan2.c host C: libfdlibm <= external/fdlibm/e_atanh.c host C: libfdlibm <= external/fdlibm/e_cosh.c art/sigchainlib/sigchain.cc: In instantiation of 'void art::lookup_next_symbol(T*, T, const char*) [with T = int (*)(int, const sigaction*, sigaction*)]': art/sigchainlib/sigchain.cc:117:23: required from here 117 | lookup_next_symbol(&linked_sigaction, sigaction, "sigaction"); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] 103 | static void lookup_next_symbol(T* output, T wrapper, const char* name) { | ~~^~~~~~~ art/sigchainlib/sigchain.cc: In instantiation of 'void art::lookup_next_symbol(T*, T, const char*) [with T = int (*)(int, const __sigset_t*, __sigset_t*)]': art/sigchainlib/sigchain.cc:118:23: required from here 118 | lookup_next_symbol(&linked_sigprocmask, sigprocmask, "sigprocmask"); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] 103 | static void lookup_next_symbol(T* output, T wrapper, const char* name) { | ~~^~~~~~~ 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_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_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 external/fdlibm/e_asin.c:91:19: 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_gamma_r.c libbase/cmsg.cpp: In function 'ssize_t android::base::SendFileDescriptorVector(borrowed_fd, const void*, size_t, const std::vector&)': libbase/cmsg.cpp:53:3: warning: missing initializer for member 'msghdr::__pad1' [-Wmissing-field-initializers] 53 | }; | ^ libbase/cmsg.cpp:53:3: warning: missing initializer for member 'msghdr::__pad2' [-Wmissing-field-initializers] libbase/cmsg.cpp: In function 'ssize_t android::base::ReceiveFileDescriptorVector(borrowed_fd, void*, size_t, size_t, std::vector >*)': libbase/cmsg.cpp:96:3: warning: missing initializer for member 'msghdr::__pad1' [-Wmissing-field-initializers] 96 | }; | ^ libbase/cmsg.cpp:96:3: warning: missing initializer for member 'msghdr::__pad2' [-Wmissing-field-initializers] host C: libfdlibm <= external/fdlibm/e_hypot.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; | ^~~ host C: libfdlibm <= external/fdlibm/e_j0.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_j1.c In file included from art/openjdkjvm/../../libcore/ojluni/src/main/native/jvm_md.h:68, from art/openjdkjvm/../../libcore/ojluni/src/main/native/jvm.h:33, from art/openjdkjvm/OpenjdkJvm.cc:45: /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/e_jn.c host C: libfdlibm <= external/fdlibm/e_lgamma.c external/fdlibm/k_rem_pio2.c:293:24: warning: 'fq' may be used uninitialized [-Wmaybe-uninitialized] 293 | fw = fq[0]-fw; | ~~^~~ external/fdlibm/k_rem_pio2.c:171:27: note: 'fq' declared here 171 | double z,fw,f[20],fq[20],q[20]; | ^~ host C: libfdlibm <= external/fdlibm/e_lgamma_r.c external/fdlibm/e_j0.c: In function 'pzero': host C: libfdlibm <= external/fdlibm/e_log.c 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_j0.c:328:23: note: 'p' was declared here 328 | 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; | ^ host C: libfdlibm <= external/fdlibm/e_log10.c 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::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/binder/../include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/binder/../include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/binder/../include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/binder/../include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C: libfdlibm <= external/fdlibm/e_sqrt.c host C: libfdlibm <= external/fdlibm/w_acos.c external/fdlibm/e_lgamma_r.c: In function '__ieee754_lgamma_r': external/fdlibm/e_lgamma_r.c:302:20: warning: 'nadj' may be used uninitialized [-Wmaybe-uninitialized] 302 | if(hx<0) r = nadj - r; | ~~^~~~~~~~~~ external/fdlibm/e_lgamma_r.c:213:22: note: 'nadj' was declared here 213 | double t,y,z,nadj,p,p1,p2,p3,q,r,w; | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libelffile/stream/output_stream.h:23, from art/libelffile/stream/buffered_output_stream.h:22, from art/libelffile/stream/buffered_output_stream.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libfdlibm <= external/fdlibm/w_acosh.c 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)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libelffile/stream/output_stream.h:23, from art/libelffile/stream/vector_output_stream.h:20, from art/libelffile/stream/vector_output_stream.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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_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 In file included from libbase/include/android-base/file.h:26, from libbase/include/android-base/test_utils.h:23, from libbase/test_utils.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libfdlibm <= external/fdlibm/w_exp.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/data_hash.h:20, from art/dexlayout/compact_dex_writer.h:25, from art/dexlayout/compact_dex_writer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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 host C: libfdlibm <= external/fdlibm/w_scalb.c host C: libfdlibm <= external/fdlibm/w_sinh.c In file included from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_sqrt.c host C: libfdlibm <= external/fdlibm/s_asinh.c host C: libfdlibm <= external/fdlibm/s_atan.c In file included from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_cbrt.c host C: libfdlibm <= external/fdlibm/s_ceil.c host C: libfdlibm <= external/fdlibm/s_copysign.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/unix_file/fd_file.h:24, from art/dexlayout/dex_writer.h:26, from art/dexlayout/dex_writer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libfdlibm <= external/fdlibm/s_cos.c host C: libfdlibm <= external/fdlibm/s_erf.c host C: libfdlibm <= external/fdlibm/s_expm1.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, std::vector*, int)': 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/libelffile/elf/xz_utils.cc:95:3: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:95:3: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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/libelffile/elf/xz_utils.cc:95:3: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:95:3: note: in expansion of macro 'CHECK_EQ' 95 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_ir_builder.h:22, from art/dexlayout/dex_ir_builder.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ external/fdlibm/s_floor.c: In function 'ieee_floor': external/fdlibm/s_floor.c:69:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 69 | if(j& 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/libelffile/elf/xz_utils.cc:109:7: note: in expansion of macro 'CHECK_EQ' 109 | 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/libelffile/elf/xz_utils.cc:109:7: note: in expansion of macro 'CHECK_EQ' 109 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:109:7: note: in expansion of macro 'CHECK_EQ' 109 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_ldexp.c art/libelffile/elf/xz_utils.cc: In function 'void art::XzDecompress(ArrayRef, 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/libelffile/elf/xz_utils.cc:159:3: note: in expansion of macro 'CHECK_EQ' 159 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:159:3: note: in expansion of macro 'CHECK_EQ' 159 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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/libelffile/elf/xz_utils.cc:159:3: note: in expansion of macro 'CHECK_EQ' 159 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:159:3: note: in expansion of macro 'CHECK_EQ' 159 | CHECK_EQ(ret, LZMA_OK); | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_lib_version.c 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/libelffile/elf/xz_utils.cc:173:7: note: in expansion of macro 'CHECK_EQ' 173 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:173:7: note: in expansion of macro 'CHECK_EQ' 173 | 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/libelffile/elf/xz_utils.cc:173:7: note: in expansion of macro 'CHECK_EQ' 173 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ 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, == ) | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:173:7: note: in expansion of macro 'CHECK_EQ' 173 | CHECK_EQ(ret, LZMA_STREAM_END); | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_log1p.c In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/compact_dex_level.h:22, from art/dexlayout/dexlayout.h:32, from art/dexlayout/dexlayout.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libfdlibm <= external/fdlibm/s_logb.c In file included from art/libdexfile/dex/compact_dex_level.h:22, from art/dexlayout/dex_writer.h:27, from art/dexlayout/compact_dex_writer.h:26: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from libbase/include/android-base/file.h:26, from libcore/luni/src/main/native/libcore_io_Linux.cpp:52: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_visualize.cc:34: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_verify.h:24, from art/dexlayout/dex_verify.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libfdlibm <= external/fdlibm/s_matherr.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_ir.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ external/fdlibm/s_log1p.c: In function 'ieee_log1p': external/fdlibm/s_log1p.c:154:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 154 | if(f==zero) if(k==0) return zero; | ^ host C: libfdlibm <= external/fdlibm/s_modf.c host C: libfdlibm <= external/fdlibm/s_nextafter.c host C: libfdlibm <= external/fdlibm/s_rint.c host C: libfdlibm <= external/fdlibm/s_scalbn.c In file included from art/libdexfile/dex/compact_dex_level.h:22, from art/dexlayout/dex_writer.h:27: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/tools/cpp-define-generator/mirror_dex_cache.def:18, from art/tools/cpp-define-generator/asm_defines.def:26: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': art/tools/cpp-define-generator/mirror_dex_cache.def:25:1: required from here 26 | sizeof(art::mirror::StringDexCachePair)) | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C: libfdlibm <= external/fdlibm/s_signgam.c In file included from art/tools/cpp-define-generator/mirror_dex_cache.def:18, from art/tools/cpp-define-generator/asm_defines.def:26: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': art/tools/cpp-define-generator/mirror_dex_cache.def:25:1: required from here 26 | sizeof(art::mirror::StringDexCachePair)) | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/tools/cpp-define-generator/mirror_dex_cache.def:18, from art/tools/cpp-define-generator/asm_defines.def:26: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': art/tools/cpp-define-generator/mirror_dex_cache.def:25:1: required from here 26 | sizeof(art::mirror::StringDexCachePair)) | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from libcore/luni/src/main/native/libcore_icu_ICU.cpp:35: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libfdlibm <= external/fdlibm/s_significand.c host C: libfdlibm <= external/fdlibm/s_sin.c external/fdlibm/s_scalbn.c: In function 'ieee_scalbn': external/fdlibm/s_scalbn.c:56:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 56 | if (k <= -54) | ^ host C: libfdlibm <= external/fdlibm/s_tan.c host C: libfdlibm <= external/fdlibm/s_tanh.c In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libopenjdkjvm <= art/openjdkjvm/OpenjdkJvm.cc host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_ECC.c cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_EccKey.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_RSA.c In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSL.c art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLCertificate.c In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLCertManager.c In file included from art/libartbase/base/macros.h:24, from art/openjdkjvm/OpenjdkJvm.cc:47: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLContext.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLSession.c In file included from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/openjdkjvm/OpenjdkJvm.cc:48: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLX509StoreCtx.c Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libandroidfw_intermediates/import_includes host C++: libincfs-utils <= incfs/util/map_ptr.cpp Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_pathutils_intermediates/import_includes cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: dalvikvm <= art/dalvikvm/dalvikvm.cc host C++: libnativehelper <= libnativehelper/JNIHelp.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libnativehelper <= libnativehelper/JniConstants.cpp host C++: libnativehelper <= libnativehelper/toStringArray.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libnativehelper <= libnativehelper/JniInvocation.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libnativehelper <= libnativehelper/AsynchronousCloseMonitor.cpp host SharedLib: liblog (out/host/linux-x86/obj/lib/liblog.so) In file included from art/openjdkjvm/../../libcore/ojluni/src/main/native/jvm_md.h:68, from art/openjdkjvm/../../libcore/ojluni/src/main/native/jvm.h:33, from art/openjdkjvm/OpenjdkJvm.cc:45: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host StaticLib: libsigchain (out/host/linux-x86/obj/STATIC_LIBRARIES/libsigchain_intermediates/libsigchain.a) host C: acp <= build/tools/acp/acp.c host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a) host C++: dex2oat <= art/dex2oat/dex2oat_options.cc host C++: dex2oat <= art/dex2oat/dex2oat.cc host C++: libprofile <= art/libprofile/profile/profile_compilation_info.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/openjdkjvm/OpenjdkJvm.cc:49: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libziparchive <= libziparchive/zip_archive.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libziparchive <= libziparchive/zip_archive_stream_entry.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libziparchive <= libziparchive/zip_cd_entry_map.cc In file included from libziparchive/include/ziparchive/zip_archive.h:25, from libziparchive/zip_archive.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 | ^~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libziparchive <= libziparchive/zip_error.cc host C++: libziparchive <= libziparchive/zip_writer.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libutils <= system/core/libutils/FileMap.cpp art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/JenkinsHash.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/LightRefBase.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/Looper.cpp host C++: libutils <= system/core/libutils/NativeHandle.cpp art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libutils <= system/core/libutils/Printer.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/StopWatch.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/SystemClock.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/Threads.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libutils <= system/core/libutils/Timers.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libutils <= system/core/libutils/Tokenizer.cpp cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libutils <= system/core/libutils/misc.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host StaticLib: libutils_binder (out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_binder_intermediates/libutils_binder.a) In file included from libziparchive/include/ziparchive/zip_archive.h:25, from libziparchive/zip_archive_stream_entry.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 | ^~~~~~~ host SharedLib: libnativebridge (out/host/linux-x86/obj/lib/libnativebridge.so) cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/Backtrace.cpp cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libbacktrace <= system/core/libbacktrace/BacktraceCurrent.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/BacktraceMap.cpp cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libbacktrace <= system/core/libbacktrace/BacktracePtrace.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/ThreadEntry.cpp In file included from system/core/libutils/Timers.cpp:24: system/core/libutils/Timers.cpp: In function 'void checkClockId(int)': system/core/libutils/Timers.cpp:29:44: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 29 | LOG_ALWAYS_FATAL_IF(clock < 0 || clock >= clock_id_max, "invalid clock id"); | ~~~~~~^~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/UnwindCurrent.cpp 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; | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/UnwindMap.cpp At global scope: cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:30, from art/compiler/debug/elf_debug_writer.h:28, from art/dex2oat/dex2oat.cc:141: /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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libbacktrace <= system/core/libbacktrace/UnwindPtrace.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C: libbacktrace <= system/core/libbacktrace/thread_utils.c In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:33, from art/dex2oat/dex2oat.cc:172: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host SharedLib: libunwind (out/host/linux-x86/obj/lib/libunwind.so) host SharedLib: libsigchain (out/host/linux-x86/obj/lib/libsigchain.so) cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libprofile/./profile/profile_compilation_info.h:25, from art/dexlayout/dex_visualize.cc:36: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host StaticLib: libelffile (out/host/linux-x86/obj/STATIC_LIBRARIES/libelffile_intermediates/libelffile.a) 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/linux_close.cpp host C++: libopenjdk <= libcore/ojluni/src/main/native/Character.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libopenjdk <= libcore/ojluni/src/main/native/Register.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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libopenjdk <= libcore/ojluni/src/main/native/socket_tagger_util.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_ZipFile.c In file included from libbase/include/android-base/file.h:26, from incfs/util/map_ptr.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_Inflater.c In file included from art/tools/cpp-define-generator/runtime.def:18, from art/tools/cpp-define-generator/asm_defines.def:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/tools/cpp-define-generator/runtime.def:18, from art/tools/cpp-define-generator/asm_defines.def:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for 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/Character.cpp:22: /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 In file included from art/tools/cpp-define-generator/runtime.def:18, from art/tools/cpp-define-generator/asm_defines.def:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_CRC32.c 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/Adler32.c host C: libopenjdk <= libcore/ojluni/src/main/native/zip_util.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 host C: libopenjdk <= libcore/ojluni/src/main/native/jni_util.c In file included from art/libprofile/./profile/profile_compilation_info.h:25, from art/dexlayout/dexlayout.cc:53: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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 | } | ^ host C: libopenjdk <= libcore/ojluni/src/main/native/jni_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/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 | ^~~~~~~ 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/io_util.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 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 system/core/libutils/misc.cpp:24: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ 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/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/zip_util.c:44: /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/libartbase/base/macros.h:24, from art/openjdkjvm/OpenjdkJvm.cc:47: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileDescriptor_md.c In file included from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/openjdkjvm/OpenjdkJvm.cc:48: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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 cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/string-inl.h:23, from art/openjdkjvm/OpenjdkJvm.cc:54: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Console_md.c 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/DatagramChannelImpl.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' 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/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/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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/PollArrayWrapper.c host C: libopenjdk <= libcore/ojluni/src/main/native/SocketChannelImpl.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/libprofile/profile/profile_compilation_info.h:23, from art/libprofile/profile/profile_compilation_info.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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/DatagramDispatcher.c:31: /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/Console_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 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 libbase/include/android-base/file.h:26, from libziparchive/zip_archive_stream_entry.cc:30: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C: libopenjdk <= libcore/ojluni/src/main/native/FileDispatcherImpl.c cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' 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/FileOutputStream_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/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/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 host C: libopenjdk <= libcore/ojluni/src/main/native/FileSystemPreferences.c 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/SocketChannelImpl.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/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 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/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 art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/openjdkjvm/OpenjdkJvm.cc:49: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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 | ^~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' 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/FileOutputStream_md.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/libprofile/profile/profile_compilation_info.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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 art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ 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 In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ 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 art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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/UnixAsynchronousSocketChannelImpl.c host C: libopenjdk <= libcore/ojluni/src/main/native/io_util_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 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/NativeThread.c host C: libopenjdk <= libcore/ojluni/src/main/native/FileKey.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/EPollPort.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/UnixAsynchronousSocketChannelImpl.c:31: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixFileSystem_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/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/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/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/ObjectInputStream.c In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/dex2oat/dex2oat.cc:119: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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 | ^~~~~~~ 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/FileKey.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/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/UnixFileSystem_md.c:39: /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/ObjectStreamClass.c:27: /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/LinuxWatchService.c cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics In file included from art/libprofile/profile/profile_compilation_info.h:32: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixCopyFile.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 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixNativeDispatcher.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/InetAddress.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/net_util.c In file included from libbase/include/android-base/file.h:26, from libziparchive/zip_archive.cc:53: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/dex2oat_options.h:24, from art/dex2oat/dex2oat_options.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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 | ^~~~~~~ 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/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/MappedByteBuffer.c host C: libopenjdk <= libcore/ojluni/src/main/native/Inet6Address.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 | ^~~~~~~ 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/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/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/Net.c:26: /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/Inet4Address.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/net_util.c:29: /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/ServerSocketChannelImpl.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_md.c:64: /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 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 | ^~~~~~~ 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 | ^~~~~~~ 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/MappedByteBuffer.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.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 | ^~~~~~~ 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 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 | ^~~~~~~ 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 host C: libopenjdk <= libcore/ojluni/src/main/native/Float.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/Inet4Address.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/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/dex2oat/dex2oat.cc:121: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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/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/Double.c In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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 | ^~~~~~~ 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/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 | ^~~~~~~ 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/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: /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/SocketOutputStream.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/Math.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_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 | ^~~~~~~ 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/ProcessEnvironment_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 system/core/libutils/include/utils/Looper.h:22, from system/core/libutils/Looper.cpp:20: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ libziparchive/zip_archive_stream_entry.cc: In member function 'virtual const std::vector* ZipArchiveStreamEntryUncompressed::Read()': libziparchive/zip_archive_stream_entry.cc:113:11: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 113 | length_ -= bytes; | ~~~~~~~~^~~~~~~~ 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 | ^~~~~~~ In file included from system/core/libutils/include/utils/Looper.h:27: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ libziparchive/zip_archive_stream_entry.cc: In member function 'virtual const std::vector* ZipArchiveStreamEntryCompressed::Read()': libziparchive/zip_archive_stream_entry.cc:251:41: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 251 | uncompressed_length_ -= out_.size(); | ^ libziparchive/zip_archive_stream_entry.cc:262:43: warning: conversion from 'std::vector::size_type' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 262 | uncompressed_length_ -= out_.size(); | ^ 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/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 In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Runtime.c art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ 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 external/wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setVerify': external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3575:21: warning: 'verifyCb' may be used uninitialized [-Wmaybe-uninitialized] 3575 | if (appData && verifyCb) { | ^~ external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3548:14: note: 'verifyCb' was declared here 3548 | jobject* verifyCb; | ^~~~~~~~ libcore/ojluni/src/main/native/System.c:32:9: warning: '_GNU_SOURCE' redefined 32 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition host C: libopenjdk <= libcore/ojluni/src/main/native/Bits.c cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' 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/System.c:40: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host StaticLib: libfdlibm (out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/libfdlibm.a) host C++: libandroidfw <= libandroidfw/ApkAssets.cpp 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 C++: libandroidfw <= libandroidfw/ApkParsing.cpp cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' 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 cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/Asset.cpp cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' 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/UNIXProcess_md.c:30: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ libziparchive/zip_writer.cc: In member function 'int32_t ZipWriter::CompressBytes(FileEntry*, const void*, uint32_t)': libziparchive/zip_writer.cc:413:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 413 | file->compressed_size += write_bytes; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 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++: libandroidfw <= libandroidfw/AssetDir.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libziparchive/zip_writer.cc: In member function 'int32_t ZipWriter::FlushCompressedBytes(FileEntry*)': libziparchive/zip_writer.cc:440:27: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 440 | file->compressed_size += write_bytes; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ libziparchive/zip_writer.cc:456:27: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 456 | file->compressed_size += write_bytes; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/AssetManager.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/AssetManager2.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/AssetsProvider.cpp 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++: libandroidfw <= libandroidfw/AttributeResolution.cpp 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 cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/BigBuffer.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/BigBufferStream.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/ChunkIterator.cpp art/libprofile/profile/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadInlineCache(SafeBuffer&, uint8_t, const art::SafeMap&, InlineCacheMap*, std::string*)': art/libprofile/profile/profile_compilation_info.cc:849:33: warning: passing 'uint8_t' {aka 'unsigned char'} chooses 'int' over 'unsigned int' [-Wsign-promo] 849 | *error += std::to_string(dex_profile_index) + " " + std::to_string(number_of_dex_files); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ art/libprofile/profile/profile_compilation_info.cc:849:33: warning: in call to 'std::string std::__cxx11::to_string(int)' [-Wsign-promo] art/libprofile/profile/profile_compilation_info.cc:849:75: warning: passing 'uint8_t' {aka 'unsigned char'} chooses 'int' over 'unsigned int' [-Wsign-promo] 849 | *error += std::to_string(dex_profile_index) + " " + std::to_string(number_of_dex_files); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ art/libprofile/profile/profile_compilation_info.cc:849:75: warning: in call to 'std::string std::__cxx11::to_string(int)' [-Wsign-promo] host C++: libandroidfw <= libandroidfw/ConfigDescription.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/FileStream.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libprofile/profile/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadMethods(SafeBuffer&, uint8_t, const ProfileLineHeader&, const art::SafeMap&, std::string*)': art/libprofile/profile/profile_compilation_info.cc:877:12: warning: enum constant in boolean context [-Wint-in-bool-context] 877 | return kProfileLoadBadData; | ^~~~~~~~~~~~~~~~~~~ art/libprofile/profile/profile_compilation_info.cc: In member function 'bool art::ProfileCompilationInfo::ReadClasses(SafeBuffer&, const ProfileLineHeader&, std::string*)': art/libprofile/profile/profile_compilation_info.cc:916:12: warning: enum constant in boolean context [-Wint-in-bool-context] 916 | return kProfileLoadBadData; | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/Idmap.cpp In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/LoadedArsc.cpp art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/Locale.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/LocaleData.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/LocaleDataLookup.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/include/androidfw/ApkAssets.h:28, from libandroidfw/ApkAssets.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libziparchive/zip_archive.cc: In function 'ZipError FindCentralDirectoryInfoForZip64(const char*, ZipArchive*, off_t, CentralDirectoryInfo*)': libziparchive/zip_archive.cc:215:18: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 215 | if (eocdOffset <= sizeof(Zip64EocdLocator)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ libziparchive/zip_archive.cc:238:21: warning: comparison of integer expressions of different signedness: 'const int64_t' {aka 'const long int'} and 'long unsigned int' [-Wsign-compare] 238 | if (locatorOffset <= sizeof(Zip64EocdRecord) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_archive.cc:239:23: warning: comparison of integer expressions of different signedness: 'const int64_t' {aka 'const long int'} and 'long unsigned int' [-Wsign-compare] 239 | zip64EocdOffset > locatorOffset - sizeof(Zip64EocdRecord)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_archive.cc:261:23: warning: comparison of integer expressions of different signedness: 'const int64_t' {aka 'const long int'} and 'const uint64_t' {aka 'const long unsigned int'} [-Wsign-compare] 261 | if (zip64EocdOffset <= zip64EocdRecord->cd_size || | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/allocator.h:22, from art/runtime/gc/space/large_object_space.h:20, from art/cmdline/cmdline_types.h:35, from art/dex2oat/dex2oat_options.h:26: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/NinePatch.cpp In file included from libziparchive/include/ziparchive/zip_archive.h:33: libziparchive/zip_archive.cc: In function 'ZipError FindCentralDirectoryInfo(const char*, ZipArchive*, off_t, std::span, CentralDirectoryInfo*)': libbase/include/android-base/logging.h:276:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 276 | #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) | ^ libbase/include/android-base/macros.h:84:49: note: in definition of macro 'UNLIKELY' 84 | #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) | ^~~ libbase/include/android-base/logging.h:276:24: note: in expansion of macro 'CHECK_OP' 276 | #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) | ^~~~~~~~ libziparchive/zip_archive.cc:298:3: note: in expansion of macro 'CHECK_LE' 298 | CHECK_LE(read_amount, std::numeric_limits::max()); | ^~~~~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/AssetsProvider.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ host C++: libandroidfw <= libandroidfw/ObbFile.cpp libziparchive/zip_archive.cc:299:27: warning: conversion from 'long unsigned int' to 'int32_t' {aka 'int'} may change value [-Wconversion] 299 | int32_t i = read_amount - sizeof(EocdRecord); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ libziparchive/zip_archive.cc: In function 'ZipError MapCentralDirectory(const char*, ZipArchive*)': libziparchive/zip_archive.cc:371:19: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'const uint64_t' {aka 'const long unsigned int'} [-Wsign-compare] 371 | if (file_length > kMaxFileLength) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/Png.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/PngChunkFilter.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ZipFileRO.h:40, from libandroidfw/include/androidfw/AssetManager.h:25, from libandroidfw/AssetManager.cpp:27: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] host C++: libandroidfw <= libandroidfw/PngCrunch.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:25, from libandroidfw/AssetManager.cpp: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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libziparchive/zip_archive.cc: In function 'int32_t FindEntry(const ZipArchive*, std::string_view, uint64_t, ZipEntry64*)': libbase/include/android-base/logging.h:276:39: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 276 | #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) | ^ libbase/include/android-base/macros.h:84:49: note: in definition of macro 'UNLIKELY' 84 | #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) | ^~~ libbase/include/android-base/logging.h:276:24: note: in expansion of macro 'CHECK_OP' 276 | #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) | ^~~~~~~~ libziparchive/zip_archive.cc:874:3: note: in expansion of macro 'CHECK_LE' 874 | CHECK_LE(entryName.size(), UINT16_MAX); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/PosixUtils.cpp libziparchive/zip_archive.cc:1023:31: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 1023 | if (data->compressed_length > cd_offset - data_offset) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_archive.cc:1030:68: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 1030 | if (data->method == kCompressStored && data->uncompressed_length > cd_offset - data_offset) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/ResourceTimer.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libandroidfw <= libandroidfw/ResourceTypes.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/Locale.h:23, from libandroidfw/Locale.cpp:18: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] host C++: libandroidfw <= libandroidfw/ResourceUtils.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libziparchive/zip_archive.cc: In function 'int32_t CopyEntryToWriter(MappedZipFile&, const ZipEntry64*, zip_archive::Writer*, uint64_t*)': libziparchive/zip_archive.cc:1548:34: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'const uint64_t' {aka 'const long unsigned int'} [-Wsign-compare] 1548 | mapped_zip.GetFileLength() < entry->uncompressed_length) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ host C++: libandroidfw <= libandroidfw/StreamingZipInflater.cpp libziparchive/zip_archive.cc: In member function 'const uint8_t* MappedZipFile::ReadAtOffset(uint8_t*, size_t, off_t) const': libziparchive/zip_archive.cc:1772:33: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1772 | if (off < 0 || data_length_ < len || off > data_length_ - len) { | ~~~~~~~~~~~~~^~~~~ libziparchive/zip_archive.cc:1772:46: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1772 | if (off < 0 || data_length_ < len || off > data_length_ - len) { | ~~~~^~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libziparchive/zip_cd_entry_map.cc: In instantiation of 'ZipError CdEntryMapZip32::AddToMap(std::string_view, const uint8_t*) [with ZipStringOffset = ZipStringOffset20; std::string_view = std::basic_string_view; uint8_t = unsigned char]': libziparchive/zip_cd_entry_map.cc:49:10: required from here 49 | ZipError CdEntryMapZip32::AddToMap(std::string_view name, const uint8_t* start) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_cd_entry_map.cc:51:23: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 51 | uint32_t ent = hash & (hash_table_size_ - 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_cd_entry_map.cc:68:34: warning: conversion from 'uint32_t' {aka 'unsigned int'} to 'unsigned int:20' may change value [-Wconversion] 68 | hash_table_[ent].name_offset = static_cast(name.data() - start_char); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_cd_entry_map.cc:69:34: warning: conversion from 'uint16_t' {aka 'short unsigned int'} to 'short unsigned int:12' may change value [-Wconversion] 69 | hash_table_[ent].name_length = static_cast(name.size()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/StringPool.cpp libziparchive/zip_cd_entry_map.cc: In instantiation of 'ZipError CdEntryMapZip32::AddToMap(std::string_view, const uint8_t*) [with ZipStringOffset = ZipStringOffset32; std::string_view = std::basic_string_view; uint8_t = unsigned char]': libziparchive/zip_cd_entry_map.cc:49:10: required from here 49 | ZipError CdEntryMapZip32::AddToMap(std::string_view name, const uint8_t* start) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_cd_entry_map.cc:51:23: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] 51 | uint32_t ent = hash & (hash_table_size_ - 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/TypeWrappers.cpp In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/ConfigDescription.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] host C++: libandroidfw <= libandroidfw/Util.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/Util.h:28, from libandroidfw/Asset.cpp:26: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libandroidfw <= libandroidfw/ZipFileRO.cpp In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/string-inl.h:23, from art/openjdkjvm/OpenjdkJvm.cc:54: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libziparchive/zip_archive.cc: In instantiation of 'std::optional<_Tp> TryConsumeUnaligned(uint8_t**, const uint8_t*, size_t) [with T = long unsigned int; uint8_t = unsigned char; size_t = long unsigned int]': libziparchive/zip_archive.cc:498:59: required from here 498 | uncompressedFileSize = TryConsumeUnaligned( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 499 | &readPtr, extraFieldStart, extraFieldLength); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libziparchive/zip_archive.cc:205:50: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 205 | if (bufSize < sizeof(T) || *readPtr - bufStart > bufSize - sizeof(T)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/ZipUtils.cpp art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics In file included from art/openjdkjvm/OpenjdkJvm.cc:43: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libandroidfw <= libandroidfw/androidfw_c_api.cpp libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/include/androidfw/ApkAssets.h:28, from libandroidfw/include/androidfw/AssetManager2.h:30, from libandroidfw/AssetManager2.cpp:19: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libandroidfw <= libandroidfw/misc.cpp host C++: libandroidfw_pathutils <= libandroidfw/PathUtils.cpp host SharedLib: libnativehelper (out/host/linux-x86/obj/lib/libnativehelper.so) In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/include/androidfw/ApkAssets.h:28, from libandroidfw/include/androidfw/AssetManager2.h:30, from libandroidfw/include/androidfw/AttributeResolution.h:20, from libandroidfw/AttributeResolution.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp) host SharedLib: libbase (out/host/linux-x86/obj/lib/libbase.so) target Generated: libart-compiler <= out/host/linux-x86/gen/SHARED_LIBRARIES/libart-compiler_intermediates/asm_defines.S target Generated: libart <= out/host/linux-x86/gen/SHARED_LIBRARIES/libart_intermediates/asm_defines.S target Generated: libart-dex2oat <= out/host/linux-x86/gen/STATIC_LIBRARIES/libart-dex2oat_intermediates/asm_defines.S In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/ResourceTypes.cpp:40: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ /usr/lib/gcc/aarch64-alpine-linux-musl/15.2.0/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/15.2.0/../../../../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. In file included from libandroidfw/include/androidfw/ZipFileRO.h:40, from libandroidfw/ZipFileRO.cpp:22: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] host SharedLib: libwolfssljni (out/host/linux-x86/obj/lib/libwolfssljni.so) Install: out/host/linux-x86/bin/acp art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host Executable: dalvikvm (out/host/linux-x86/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm) host SharedLib: libartpalette (out/host/linux-x86/obj/lib/libartpalette.so) Install: out/host/linux-x86/lib64/liblog.so Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/arch/instruction_set.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/allocator.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/unix_file/fd_file.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/ChunkIterator.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file_layout.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/Util.h:28, from libandroidfw/Util.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction_utils.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/Util.h:28, from libandroidfw/include/androidfw/ResourceTimer.h:26, from libandroidfw/ResourceTimer.cpp:24: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/TypeWrappers.h:20, from libandroidfw/TypeWrappers.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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/libdexfile/dex/compact_dex_level.h:22, from art/dex2oat/dex2oat_options.h:28: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from libbase/include/android-base/result.h:103, from libandroidfw/include/androidfw/LoadedArsc.h:28, from libandroidfw/LoadedArsc.cpp:19: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from art/dex2oat/dex2oat_options.h:29: art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CompilerFilter' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'PIC' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'HugeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'LargeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'SmallMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TinyMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'NumDexMethodsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'InlineMaxCodeUnitsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateMiniDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateBuildID' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/invoke_type.h_operator_out.cc art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Debuggable' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Baseline' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TopKProfileThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnHardVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnSoftVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'ResolveStartupConstStrings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpInitFailures' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFG' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFGAppend' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'RegisterAllocationStrategy' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'VerboseMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DeduplicateCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CountHotnessInCompiledCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CheckProfiledMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpPassTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpStats' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'MaxImageBlockSize' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/method_reference.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options.h_operator_out.cc In file included from libandroidfw/include/androidfw/AssetsProvider.h:25: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/linker/linker_patch.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/NinePatch.cpp:22: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from art/libartbase/base/variant_map.h:25, from art/dex2oat/dex2oat_options.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/Idmap.cpp:19: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libziparchive/include/ziparchive/zip_archive.h:25, from libandroidfw/ZipFileRO.cpp: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 libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:25, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:31: /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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/arm/constants_arm.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/optimizing_compiler_stats.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips/assembler_mips.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/asm_defines.h In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/include/androidfw/ApkAssets.h:28, from libandroidfw/include/androidfw/AssetManager2.h:30, from libandroidfw/androidfw_c_api.cpp:1: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips64/assembler_mips64.h_operator_out.cc libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/Png.cpp:29: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mterp_arm64.S In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/callee_save_type.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/class_loader_context.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/locks.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/class_status.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc_root.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator_type.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector_type.h_operator_out.cc In file included from libandroidfw/include/androidfw/Asset.h:29, from libandroidfw/AssetManager.cpp:25: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector/gc_type.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/heap.h_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/space/region_space.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/AssetsProvider.h:28, from libandroidfw/include/androidfw/ApkAssets.h:28, from libandroidfw/include/androidfw/AssetManager2.h:30, from libandroidfw/include/androidfw/ResourceUtils.h:20, from libandroidfw/ResourceUtils.cpp:17: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:23, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/include/androidfw/StringPool.h:29, from libandroidfw/StringPool.cpp:18: libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 226 | _CONVERTING_CTOR(const U&, const G&, const expected&, ) libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:226: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 228 | _CONVERTING_CTOR(U, G, expected&&, std::move) libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:228: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 240 | constexpr _EXPLICIT((!std::is_convertible_v)) libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:240: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 246 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:246: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 248 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:248: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/weak_root_state.h_operator_out.cc libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 446 | _CONVERTING_CTOR(const G&, const expected&, ) libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:446: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 448 | _CONVERTING_CTOR(G, expected&&, std::move) libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:448: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 453 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(const G&, const unexpected&, ) libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:453: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 455 | _CONSTRUCT_EXPECTED_FROM_UNEXPECTED(G, unexpected&&, std::move) libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] libbase/include/android-base/expected.h:455: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] In file included from libandroidfw/include/androidfw/FileStream.h:25, from libandroidfw/FileStream.cpp:17: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/instrumentation.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/indirect_reference_table.h_operator_out.cc In file included from libziparchive/include/ziparchive/zip_archive.h:25, from libandroidfw/ZipUtils.cpp: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 | ^~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp_provider.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_constants.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/lock_word.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/object_callbacks.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/process_state.h_operator_out.cc In file included from libandroidfw/include/androidfw/ApkAssets.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack.h_operator_out.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/suspend_reason.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_state.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/ti/agent.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/trace.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/verifier/verifier_enums.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/asm_defines.h Copy: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/dex/dex_to_dex_compiler.h_operator_out.cc Copy: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/driver/compiler_driver.h_operator_out.cc Copy: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/linker/image_writer.h_operator_out.cc art/dex2oat/dex2oat_options.def: At global scope: art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CompactDexLevel' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:37:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:37:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.def:37:54: warning: declaration of 'art::Dex2oatArgumentMap::Key art::Dex2oatArgumentMap::CompactDexLevel' changes meaning of 'CompactDexLevel' [-Wchanges-meaning] 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:70: note: in definition of macro 'DEX2OAT_OPTIONS_KEY' 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~ art/dex2oat/dex2oat_options.def:37:22: note: used here to mean 'enum class art::CompactDexLevel' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:63: note: in definition of macro 'DEX2OAT_OPTIONS_KEY' 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~ art/libdexfile/dex/compact_dex_level.h:27:12: note: declared here 27 | enum class CompactDexLevel { | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DexFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:38:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 38 | DEX2OAT_OPTIONS_KEY (std::vector, DexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:38:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 38 | DEX2OAT_OPTIONS_KEY (std::vector, DexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DexLocations' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:39:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 39 | DEX2OAT_OPTIONS_KEY (std::vector, DexLocations) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:39:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 39 | DEX2OAT_OPTIONS_KEY (std::vector, DexLocations) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ZipFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:40:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 40 | DEX2OAT_OPTIONS_KEY (int, ZipFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:40:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 40 | DEX2OAT_OPTIONS_KEY (int, ZipFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ZipLocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:41:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 41 | DEX2OAT_OPTIONS_KEY (std::string, ZipLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:41:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 41 | DEX2OAT_OPTIONS_KEY (std::string, ZipLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InputVdexFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:42:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 42 | DEX2OAT_OPTIONS_KEY (int, InputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:42:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 42 | DEX2OAT_OPTIONS_KEY (int, InputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InputVdex' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:43:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 43 | DEX2OAT_OPTIONS_KEY (std::string, InputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:43:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 43 | DEX2OAT_OPTIONS_KEY (std::string, InputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OutputVdexFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:44:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 44 | DEX2OAT_OPTIONS_KEY (int, OutputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:44:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 44 | DEX2OAT_OPTIONS_KEY (int, OutputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OutputVdex' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:45:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 45 | DEX2OAT_OPTIONS_KEY (std::string, OutputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:45:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 45 | DEX2OAT_OPTIONS_KEY (std::string, OutputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DmFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:46:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 46 | DEX2OAT_OPTIONS_KEY (int, DmFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:46:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 46 | DEX2OAT_OPTIONS_KEY (int, DmFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DmFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:47:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 47 | DEX2OAT_OPTIONS_KEY (std::string, DmFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:47:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 47 | DEX2OAT_OPTIONS_KEY (std::string, DmFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:48:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 48 | DEX2OAT_OPTIONS_KEY (std::vector, OatFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:48:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 48 | DEX2OAT_OPTIONS_KEY (std::vector, OatFiles) | ^~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/asm_defines.h art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatSymbols' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:49:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 49 | DEX2OAT_OPTIONS_KEY (std::vector, OatSymbols) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:49:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 49 | DEX2OAT_OPTIONS_KEY (std::vector, OatSymbols) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Strip' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:50:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 50 | DEX2OAT_OPTIONS_KEY (Unit, Strip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:50:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 50 | DEX2OAT_OPTIONS_KEY (Unit, Strip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:51:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 51 | DEX2OAT_OPTIONS_KEY (int, OatFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:51:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 51 | DEX2OAT_OPTIONS_KEY (int, OatFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatLocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:52:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 52 | DEX2OAT_OPTIONS_KEY (std::string, OatLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:52:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 52 | DEX2OAT_OPTIONS_KEY (std::string, OatLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Watchdog' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:53:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 53 | DEX2OAT_OPTIONS_KEY (bool, Watchdog) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:53:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 53 | DEX2OAT_OPTIONS_KEY (bool, Watchdog) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'WatchdogTimeout' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:54:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 54 | DEX2OAT_OPTIONS_KEY (int, WatchdogTimeout) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:54:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 54 | DEX2OAT_OPTIONS_KEY (int, WatchdogTimeout) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Threads' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:55:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 55 | DEX2OAT_OPTIONS_KEY (unsigned int, Threads) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:55:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 55 | DEX2OAT_OPTIONS_KEY (unsigned int, Threads) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageFilenames' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:56:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 56 | DEX2OAT_OPTIONS_KEY (std::vector, ImageFilenames) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:56:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 56 | DEX2OAT_OPTIONS_KEY (std::vector, ImageFilenames) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageClasses' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:57:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 57 | DEX2OAT_OPTIONS_KEY (std::string, ImageClasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:57:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 57 | DEX2OAT_OPTIONS_KEY (std::string, ImageClasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageClassesZip' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:58:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 58 | DEX2OAT_OPTIONS_KEY (std::string, ImageClassesZip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:58:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 58 | DEX2OAT_OPTIONS_KEY (std::string, ImageClassesZip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageFormat' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:59:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 59 | DEX2OAT_OPTIONS_KEY (ImageHeader::StorageMode, ImageFormat) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:59:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 59 | DEX2OAT_OPTIONS_KEY (ImageHeader::StorageMode, ImageFormat) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Passes' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:60:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 60 | DEX2OAT_OPTIONS_KEY (std::string, Passes) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:60:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 60 | DEX2OAT_OPTIONS_KEY (std::string, Passes) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Base' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:61:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 61 | DEX2OAT_OPTIONS_KEY (std::string, Base) // TODO: Hex string parsing. | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:61:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 61 | DEX2OAT_OPTIONS_KEY (std::string, Base) // TODO: Hex string parsing. | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'BootImage' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:62:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 62 | DEX2OAT_OPTIONS_KEY (std::string, BootImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:62:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 62 | DEX2OAT_OPTIONS_KEY (std::string, BootImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AndroidRoot' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:63:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 63 | DEX2OAT_OPTIONS_KEY (std::string, AndroidRoot) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:63:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 63 | DEX2OAT_OPTIONS_KEY (std::string, AndroidRoot) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSet' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:64:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 64 | DEX2OAT_OPTIONS_KEY (InstructionSet, TargetInstructionSet) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:64:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 64 | DEX2OAT_OPTIONS_KEY (InstructionSet, TargetInstructionSet) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSetVariant' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:65:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 65 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetVariant) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:65:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 65 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetVariant) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSetFeatures' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:66:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 66 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetFeatures) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:66:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 66 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetFeatures) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Backend' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:67:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 67 | DEX2OAT_OPTIONS_KEY (Compiler::Kind, Backend) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:67:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 67 | DEX2OAT_OPTIONS_KEY (Compiler::Kind, Backend) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Profile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:68:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 68 | DEX2OAT_OPTIONS_KEY (std::string, Profile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:68:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 68 | DEX2OAT_OPTIONS_KEY (std::string, Profile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ProfileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:69:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 69 | DEX2OAT_OPTIONS_KEY (int, ProfileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:69:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 69 | DEX2OAT_OPTIONS_KEY (int, ProfileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Host' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:70:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 70 | DEX2OAT_OPTIONS_KEY (Unit, Host) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:70:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 70 | DEX2OAT_OPTIONS_KEY (Unit, Host) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpTiming' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:71:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 71 | DEX2OAT_OPTIONS_KEY (Unit, DumpTiming) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:71:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 71 | DEX2OAT_OPTIONS_KEY (Unit, DumpTiming) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpPasses' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:72:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 72 | DEX2OAT_OPTIONS_KEY (Unit, DumpPasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:72:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 72 | DEX2OAT_OPTIONS_KEY (Unit, DumpPasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpStats' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:73:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 73 | DEX2OAT_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:73:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 73 | DEX2OAT_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CopyDexFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:74:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 74 | DEX2OAT_OPTIONS_KEY (linker::CopyOption, CopyDexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:74:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 74 | DEX2OAT_OPTIONS_KEY (linker::CopyOption, CopyDexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AvoidStoringInvocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:75:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 75 | DEX2OAT_OPTIONS_KEY (Unit, AvoidStoringInvocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:75:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 75 | DEX2OAT_OPTIONS_KEY (Unit, AvoidStoringInvocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:76:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 76 | DEX2OAT_OPTIONS_KEY (std::string, SwapFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:76:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 76 | DEX2OAT_OPTIONS_KEY (std::string, SwapFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapFileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:77:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 77 | DEX2OAT_OPTIONS_KEY (int, SwapFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:77:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 77 | DEX2OAT_OPTIONS_KEY (int, SwapFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapDexSizeThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:78:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 78 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexSizeThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:78:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 78 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexSizeThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapDexCountThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:79:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 79 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexCountThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:79:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 79 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexCountThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'VeryLargeAppThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:80:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 80 | DEX2OAT_OPTIONS_KEY (unsigned int, VeryLargeAppThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:80:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 80 | DEX2OAT_OPTIONS_KEY (unsigned int, VeryLargeAppThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AppImageFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:81:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 81 | DEX2OAT_OPTIONS_KEY (std::string, AppImageFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:81:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 81 | DEX2OAT_OPTIONS_KEY (std::string, AppImageFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AppImageFileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:82:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 82 | DEX2OAT_OPTIONS_KEY (int, AppImageFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:82:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 82 | DEX2OAT_OPTIONS_KEY (int, AppImageFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'MultiImage' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:83:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 83 | DEX2OAT_OPTIONS_KEY (Unit, MultiImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:83:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 83 | DEX2OAT_OPTIONS_KEY (Unit, MultiImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'NoInlineFrom' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:84:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 84 | DEX2OAT_OPTIONS_KEY (std::string, NoInlineFrom) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:84:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 84 | DEX2OAT_OPTIONS_KEY (std::string, NoInlineFrom) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ForceDeterminism' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:85:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 85 | DEX2OAT_OPTIONS_KEY (Unit, ForceDeterminism) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:85:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 85 | DEX2OAT_OPTIONS_KEY (Unit, ForceDeterminism) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClasspathDir' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:86:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 86 | DEX2OAT_OPTIONS_KEY (std::string, ClasspathDir) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:86:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 86 | DEX2OAT_OPTIONS_KEY (std::string, ClasspathDir) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InvocationFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:87:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 87 | DEX2OAT_OPTIONS_KEY (std::string, InvocationFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:87:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 87 | DEX2OAT_OPTIONS_KEY (std::string, InvocationFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClassLoaderContext' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:88:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 88 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:88:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 88 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClassLoaderContextFds' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:89:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 89 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContextFds) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:89:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 89 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContextFds) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'StoredClassLoaderContext' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:90:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 90 | DEX2OAT_OPTIONS_KEY (std::string, StoredClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:90:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 90 | DEX2OAT_OPTIONS_KEY (std::string, StoredClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DirtyImageObjects' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:91:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 91 | DEX2OAT_OPTIONS_KEY (std::string, DirtyImageObjects) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:91:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 91 | DEX2OAT_OPTIONS_KEY (std::string, DirtyImageObjects) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'RuntimeOptions' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:92:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 92 | DEX2OAT_OPTIONS_KEY (std::vector, RuntimeOptions) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:92:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 92 | DEX2OAT_OPTIONS_KEY (std::vector, RuntimeOptions) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CompilationReason' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:93:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 93 | DEX2OAT_OPTIONS_KEY (std::string, CompilationReason) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:93:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 93 | DEX2OAT_OPTIONS_KEY (std::string, CompilationReason) | ^~~~~~~~~~~~~~~~~~~ Install: out/host/linux-x86/lib64/libbase.so In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ Install: out/host/linux-x86/lib64/libunwind.so art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ Install: out/host/linux-x86/lib64/libnativebridge.so Install: out/host/linux-x86/lib64/libsigchain.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 host C++: libartbase <= art/libartbase/base/mem_map_unix.cc host C++: libartbase <= art/libartbase/arch/instruction_set.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/allocator.cc host C++: libartbase <= art/libartbase/base/arena_allocator.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/arena_bit_vector.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/bit_vector.cc host C++: libartbase <= art/libartbase/base/enums.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/file_magic.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/file_utils.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libartbase <= art/libartbase/base/hex_dump.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/hiddenapi_flags.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/logging.cc In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/malloc_arena_pool.cc In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/membarrier.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/memfd.cc In file included from libandroidfw/include/androidfw/AssetDir.h:25, from libandroidfw/AssetDir.cpp:22: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/AssetDir.h:26: system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libbase/include/android-base/file.h:26, from libandroidfw/ZipUtils.cpp:23: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libartbase <= art/libartbase/base/memory_region.cc system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics host C++: libartbase <= art/libartbase/base/mem_map.cc In file included from libandroidfw/include/androidfw/Asset.h:29, from libandroidfw/Asset.cpp:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/os_linux.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/runtime_debug.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/AssetDir.h:25, from libandroidfw/AssetManager.cpp:26: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libartbase <= art/libartbase/base/safe_copy.cc system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/AssetDir.h:26: system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libartbase <= art/libartbase/base/scoped_arena_allocator.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libartbase <= art/libartbase/base/scoped_flock.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/socket_peer_is_trusted.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= art/libartbase/base/time_utils.cc host C++: libartbase <= art/libartbase/base/unix_file/fd_file.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/Idmap.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C++: libartbase <= art/libartbase/base/unix_file/random_access_file_utils.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/memfd.cc:28: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/PosixUtils.cpp: In function 'std::optional > ReadFile(int)': libandroidfw/PosixUtils.cpp:42:19: warning: redundant move in return statement [-Wredundant-move] 42 | return std::move(str); | ~~~~~~~~~^~~~~ libandroidfw/PosixUtils.cpp:42:19: note: remove 'std::move' call In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/ApkAssets.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C++: libartbase <= art/libartbase/base/utils.cc host C++: libartbase <= art/libartbase/base/zip_archive.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/membarrier.cc:25: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/arch/instruction_set.h_operator_out.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/hex_dump.h:20, from art/libartbase/base/hex_dump.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libandroidfw/BigBufferStream.cpp: In member function 'virtual bool android::BigBufferInputStream::ReadFullyAtOffset(void*, size_t, off_t)': libandroidfw/BigBufferStream.cpp:89:14: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 89 | if (offset > std::numeric_limits::max() - byte_count) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/BigBufferStream.cpp:97:16: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 97 | if (offset < iter->size) { | ~~~~~~~^~~~~~~~~~~~ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/allocator.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/mem_map.h:27, from art/libartbase/base/mem_map_unix.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/arch/instruction_set.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from libbase/include/android-base/file.h:26, from libandroidfw/ResourceTypes.cpp:36: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/ApkAssets.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ libandroidfw/ZipFileRO.cpp: In member function 'std::optional android::ZipFileRO::createEntryIncFsFileMap(android::ZipEntryRO) const': libandroidfw/ZipFileRO.cpp:278:21: warning: redundant move in return statement [-Wredundant-move] 278 | return std::move(newMap); | ~~~~~~~~~^~~~~~~~ libandroidfw/ZipFileRO.cpp:278:21: note: remove 'std::move' call In file included from libandroidfw/include/androidfw/ApkAssets.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/unix_file/fd_file.h_operator_out.cc In file included from libziparchive/include/ziparchive/zip_archive.h:25, from art/libartbase/base/zip_archive.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 | ^~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: note: unrecognized command-line option '-Wno-exit-time-destructors' may have been intended to silence earlier diagnostics host C++: libdexfile <= art/libdexfile/dex/art_dex_file_loader.cc host C++: libdexfile <= art/libdexfile/dex/compact_dex_file.cc In file included from art/openjdkjvm/OpenjdkJvm.cc:43: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/compact_offset_table.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/descriptors_names.cc In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/dex_file.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libandroidfw/Locale.cpp: In instantiation of 'void android::safe_transform_copy(const char*, char (&)[N], Transformer) [with long unsigned int N = 4; Transformer = LocaleValue::set_language(const char*)::]': libandroidfw/Locale.cpp:45:22: required from here 45 | safe_transform_copy(language_chars, language, [](size_t, char c) { return ::tolower(c); }); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] 36 | dest[i++] = t(i, *source); | ^~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] libandroidfw/Locale.cpp: In instantiation of 'void android::safe_transform_copy(const char*, char (&)[N], Transformer) [with long unsigned int N = 4; Transformer = LocaleValue::set_region(const char*)::]': libandroidfw/Locale.cpp:49:22: required from here 49 | safe_transform_copy(region_chars, region, [](size_t, char c) { return ::toupper(c); }); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] 36 | dest[i++] = t(i, *source); | ^~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] libandroidfw/Locale.cpp: In instantiation of 'void android::safe_transform_copy(const char*, char (&)[N], Transformer) [with long unsigned int N = 4; Transformer = LocaleValue::set_script(const char*)::]': libandroidfw/Locale.cpp:53:22: required from here 53 | safe_transform_copy(script_chars, script, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 54 | [](size_t i, char c) { return i ? ::tolower(c) : ::toupper(c); }); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] 36 | dest[i++] = t(i, *source); | ^~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] libandroidfw/Locale.cpp: In instantiation of 'void android::safe_transform_copy(const char*, char (&)[N], Transformer) [with long unsigned int N = 8; Transformer = LocaleValue::set_variant(const char*)::]': libandroidfw/Locale.cpp:58:22: required from here 58 | safe_transform_copy(variant_chars, variant, [](size_t, char c) { return c; }); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] 36 | dest[i++] = t(i, *source); | ^~~~ libandroidfw/Locale.cpp:36:5: warning: operation on 'i' may be undefined [-Wsequence-point] In file included from libandroidfw/include/androidfw/ApkAssets.h:26: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/scoped_flock.h:25, from art/libartbase/base/scoped_flock.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from system/core/libutils/include/utils/Thread.h:31, from system/core/libutils/include/utils/threads.h:35, from libandroidfw/include/androidfw/ZipFileRO.h:47: system/core/libutils/include/utils/RefBase.h: In instantiation of 'static void android::ReferenceMover::move_references(android::sp*, const android::sp*, size_t) [with TYPE = android::AssetManager::SharedZip; size_t = long unsigned int]': system/core/libutils/include/utils/RefBase.h:762:36: required from 'void android::move_forward_type(sp*, const sp*, size_t) [with TYPE = AssetManager::SharedZip; size_t = long unsigned int]' 762 | ReferenceMover::move_references(d, s, n); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ system/core/libutils/include/utils/Vector.h:406:22: required from 'void android::Vector::do_move_forward(void*, const void*, size_t) const [with TYPE = android::sp; size_t = long unsigned int]' 406 | move_forward_type( reinterpret_cast(dest), reinterpret_cast(from), num ); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/Vector.h:405:26: required from here 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~~~~~~~~ system/core/libutils/include/utils/RefBase.h:728:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class android::sp' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 728 | memmove(dest, src, n*sizeof(sp)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from system/core/libutils/include/utils/RefBase.h:224: system/core/libutils/include/utils/StrongPointer.h:31:7: note: 'class android::sp' declared here 31 | class sp { | ^~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from art/cmdline/cmdline_parse_result.h:21, from art/cmdline/cmdline_type_parser.h:20, from art/cmdline/cmdline_types.h:23: art/cmdline/detail/cmdline_parser_detail.h: In instantiation of 'std::string art::detail::ToStringAny(const T&, typename std::enable_if::value>::type*) [with T = art::Compiler::Kind; std::string = std::__cxx11::basic_string; typename std::enable_if::value>::type = void]': art/cmdline/cmdline_parser.h:180:35: required from 'art::CmdlineParser::Builder& art::CmdlineParser::ArgumentBuilder::IntoKey(const MapKey&) [with TArg = art::Compiler::Kind; TVariantMap = art::Dex2oatArgumentMap; TVariantMapKey = art::Dex2oatArgumentMapKey; MapKey = art::Dex2oatArgumentMapKey]' 180 | << detail::ToStringAny(value) << "'" << std::endl; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ art/dex2oat/dex2oat_options.cc:216:19: required from here 199 | parser_builder-> | ~~~~~~~~~~~~~~~~ 200 | Define({"--watch-dog", "--no-watch-dog"}) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | .WithValues({true, false}) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | .IntoKey(M::Watchdog) | ~~~~~~~~~~~~~~~~~~~~~ 203 | .Define("--watchdog-timeout=_") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | .WithType() | ~~~~~~~~~~~~~~~~ 205 | .IntoKey(M::WatchdogTimeout) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | .Define("-j_") | ~~~~~~~~~~~~~~ 207 | .WithType() | ~~~~~~~~~~~~~~~~~~~~~~~~~ 208 | .IntoKey(M::Threads) | ~~~~~~~~~~~~~~~~~~~~ 209 | .Define("--android-root=_") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | .WithType() | ~~~~~~~~~~~~~~~~~~~~~~~~ 211 | .IntoKey(M::AndroidRoot) | ~~~~~~~~~~~~~~~~~~~~~~~~ 212 | .Define("--compiler-backend=_") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | .WithType() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | .WithValueMap({{"Quick", Compiler::Kind::kQuick}, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215 | {"Optimizing", Compiler::Kind::kOptimizing}}) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | .IntoKey(M::Backend) | ~~~~~~~~^~~~~~~~~~~~ art/cmdline/detail/cmdline_parser_detail.h:95:10: warning: passing 'art::Compiler::Kind' chooses 'int' over 'unsigned int' [-Wsign-promo] 95 | stream << value; | ~~~~~~~^~~~~~~~ art/cmdline/detail/cmdline_parser_detail.h:95:10: 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/libartbase/base/mem_map.h:27, from art/libartbase/base/mem_map.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/arch/mips/instruction_set_features_mips.h:20, from art/dex2oat/dex2oat.cc:120: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/time_utils.h:26, from art/libartbase/base/time_utils.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libdexfile <= art/libdexfile/dex/dex_file_exception_helpers.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/libartbase/base/allocator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libartbase/base/allocator.cc: In member function 'virtual void* art::MallocAllocator::Alloc(size_t)': art/libartbase/base/allocator.cc:34:19: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 34 | return calloc(sizeof(uint8_t), size); | ^~~~~~~~~~~~~~~ art/libartbase/base/allocator.cc:34:19: note: earlier argument should specify number of elements, later size of each element cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/memory_region.h:29, from art/libartbase/base/memory_region.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C++: libdexfile <= art/libdexfile/dex/dex_file_layout.cc libandroidfw/ZipUtils.cpp: In member function 'virtual bool BufferReader::ReadAtOffset(uint8_t*, size_t, off_t) const': libandroidfw/ZipUtils.cpp:90:40: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 90 | if (mInputSize < len || offset > mInputSize - len) { | ~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/libartbase/base/scoped_arena_allocator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libdexfile <= art/libdexfile/dex/dex_file_loader.cc system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/unix_file/fd_file.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/malloc_arena_pool.h:22, from art/libartbase/base/malloc_arena_pool.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/libartbase/base/bit_vector.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/dumpable.h:22, from art/libartbase/base/hiddenapi_flags.h:26, from art/libartbase/base/hiddenapi_flags.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_allocator-inl.h:20, from art/libartbase/base/arena_allocator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libdexfile <= art/libdexfile/dex/dex_file_tracking_registrar.cc In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libdexfile <= art/libdexfile/dex/dex_file_verifier.cc system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ libandroidfw/ResourceTypes.cpp: In member function 'int android::ResTable_config::diff(const android::ResTable_config&) const': libandroidfw/ResourceTypes.cpp:2288:52: warning: bitwise operation between different enumeration types 'android::ResTable_config::' and 'android::ResTable_config::' is deprecated [-Wdeprecated-enum-enum-conversion] 2288 | if (((inputFlags^o.inputFlags)&(MASK_KEYSHIDDEN|MASK_NAVHIDDEN)) != 0) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/os_linux.cc:28: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/logging.h:22, from art/libartbase/base/logging.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/libartbase/base/arena_bit_vector.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/arch/instruction_set.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libdexfile <= art/libdexfile/dex/dex_instruction.cc libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ libandroidfw/Idmap.cpp: In member function 'android::IdmapResMap::Result android::IdmapResMap::Lookup(uint32_t) const': libandroidfw/Idmap.cpp:201:23: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 201 | for (int i = 0; i < inline_entry->value_count; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/utils.h:32, from art/libartbase/base/utils.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/modifiers.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/unix_file/fd_file.h:24, from out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/unix_file/fd_file.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/file_magic.cc:28: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/allocator.h:22, from art/libartbase/base/mem_map.cc:36: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/allocator.h:22, from art/libartbase/base/arena_bit_vector.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from libziparchive/include/ziparchive/zip_archive.h:25, from art/libdexfile/dex/dex_file_loader.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 | ^~~~~~~ host C++: libdexfile <= art/libdexfile/dex/primitive.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/libartbase/base/file_utils.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/signature.cc In file included from art/libartbase/base/mem_map.h:27, from art/libartbase/base/zip_archive.h:27, from art/libartbase/base/zip_archive.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ 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++: libdexfile <= art/libdexfile/dex/standard_dex_file.cc system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libdexfile <= art/libdexfile/dex/type_lookup_table.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ host C++: libdexfile <= art/libdexfile/dex/utf.cc In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/art_dex_file_loader.h:25, from art/libdexfile/dex/art_dex_file_loader.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from libandroidfw/include/androidfw/ResourceTypes.h:24: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file_layout.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction.h_operator_out.cc In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/compact_dex_file.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction_utils.h_operator_out.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/allocator.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/invoke_type.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/libdexfile/dex/descriptors_names.h:22, from art/libdexfile/dex/descriptors_names.cc:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/NinePatch.cpp: In instantiation of 'std::ostream& android::operator<<(std::ostream&, const std::vector&) [with T = Range; std::ostream = std::basic_ostream]': libandroidfw/NinePatch.cpp:675:52: required from here 675 | return out << "horizontalStretch:" << nine_patch.horizontal_stretch_regions | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/NinePatch.cpp:667:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 667 | for (int i = 0; i < v.size(); ++i) { | ~~^~~~~~~~~~ libandroidfw/NinePatch.cpp:669:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 669 | if (i != v.size() - 1) os << " "; | ~~^~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libandroidfw/ResourceTimer.cpp: In destructor 'android::ResourceTimer::Timer::~Timer()': libandroidfw/ResourceTimer.cpp:125:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 125 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp: In member function 'void android::ResourceTimer::Timer::freeBuckets()': libandroidfw/ResourceTimer.cpp:131:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 131 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp: In member function 'void android::ResourceTimer::Timer::reset()': libandroidfw/ResourceTimer.cpp:142:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 142 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp: In static member function 'static void android::ResourceTimer::Timer::copy(android::ResourceTimer::Timer&, android::ResourceTimer::Timer&, bool)': libandroidfw/ResourceTimer.cpp:156:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 156 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp: In member function 'void android::ResourceTimer::Timer::record(int)': libandroidfw/ResourceTimer.cpp:174:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 174 | if (ticks != UINT_MAX) { | ^ libandroidfw/ResourceTimer.cpp:175:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 175 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp: In member function 'void android::ResourceTimer::Timer::compute()': libandroidfw/ResourceTimer.cpp:229:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 229 | for (int d = 0; d < MaxDimension; d++) { | ~~^~~~~~~~~~~~~~ libandroidfw/ResourceTimer.cpp:231:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 231 | for (int j = 0; j < MaxBuckets && sum < count; j++) { | ~~^~~~~~~~~~~~ art/libartbase/base/unix_file/fd_file.cc: In member function 'bool unix_file::FdFile::Erase(bool)': art/libartbase/base/unix_file/fd_file.cc:556:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 556 | int result; | ^~~~~~ art/libartbase/base/file_utils.cc: In function 'std::string art::GetAndroidDataSafe(std::string*)': art/libartbase/base/file_utils.cc:198:45: warning: unused parameter 'error_msg' [-Wunused-parameter] 198 | std::string GetAndroidDataSafe(std::string* error_msg) { | ~~~~~~~~~~~~~^~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/method_reference.h_operator_out.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/jni/quick/arm64/calling_convention_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from system/core/libutils/include/utils/SortedVector.h:26, from system/core/libutils/include/utils/KeyedVector.h:26, from libandroidfw/include/androidfw/ResourceTypes.h:32: system/core/libutils/include/utils/Vector.h:385:80: warning: 'cfi' attribute directive ignored [-Wattributes] 385 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:395:90: warning: 'cfi' attribute directive ignored [-Wattributes] 395 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:400:91: warning: 'cfi' attribute directive ignored [-Wattributes] 400 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ system/core/libutils/include/utils/Vector.h:405:98: warning: 'cfi' attribute directive ignored [-Wattributes] 405 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/Vector.h:410:99: warning: 'cfi' attribute directive ignored [-Wattributes] 410 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:257:86: warning: 'cfi' attribute directive ignored [-Wattributes] 257 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:267:96: warning: 'cfi' attribute directive ignored [-Wattributes] 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:272:97: warning: 'cfi' attribute directive ignored [-Wattributes] 272 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:277:104: warning: 'cfi' attribute directive ignored [-Wattributes] 277 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const { | ^~~~~ system/core/libutils/include/utils/SortedVector.h:282:105: warning: 'cfi' attribute directive ignored [-Wattributes] 282 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const { | ^~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart-compiler <= art/compiler/optimizing/code_generator_arm64.cc host C++: libart-compiler <= art/compiler/optimizing/code_generator_vector_arm64.cc host C++: libart-compiler <= art/compiler/optimizing/scheduler_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/instruction_simplifier_arm64.cc host C++: libart-compiler <= art/compiler/optimizing/intrinsics_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/utils/arm64/assembler_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/utils/arm64/jni_macro_assembler_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libandroidfw/AssetManager2.cpp: In member function 'void android::AssetManager2::SetConfigurations(std::vector, bool)': libandroidfw/AssetManager2.cpp:450:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 450 | for (int i = 0; i < configurations_.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/utils/arm64/managed_register_arm64.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/libdexfile/dex/compact_offset_table.cc:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from libandroidfw/include/androidfw/Idmap.h:27, from libandroidfw/include/androidfw/LoadedArsc.h:32: libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:151:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct android::ConfigDescription' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 151 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:68:8: note: 'struct android::ConfigDescription' declared here 68 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/utf.h:20, from art/libdexfile/dex/utf.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_instruction_iterator.h:24, from art/libdexfile/dex/code_item_accessors.h:24, from art/libdexfile/dex/code_item_accessors-inl.h:20, from art/libdexfile/dex/dex_file_exception_helpers.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/jni/quick/arm/calling_convention_arm.cc In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/dex_file_loader.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/code_generator_arm_vixl.cc In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/code_generator_vector_arm_vixl.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file_tracking_registrar.h:23, from art/libdexfile/dex/dex_file_tracking_registrar.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/AssetManager2.cpp: In member function 'android::base::expected > android::AssetManager2::FindEntry(uint32_t, uint16_t, bool, bool) const': libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::size' [-Wmissing-field-initializers] 789 | ResTable_config conf = {.locale = default_locale_}; | ^ libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::localeScript' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::localeVariant' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::localeScriptWasComputed' [-Wmissing-field-initializers] libandroidfw/AssetManager2.cpp:789:58: warning: missing initializer for member 'android::ResTable_config::localeNumberingSystem' [-Wmissing-field-initializers] In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/signature.h:26, from art/libdexfile/dex/signature-inl.h:20, from art/libdexfile/dex/signature.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file_layout.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/instruction_simplifier_arm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/data_hash.h:20, from art/libartbase/base/hash_set.h:31, from art/libartbase/base/hash_map.h:22, from art/libdexfile/dex/dex_file_verifier.h:23, from art/libdexfile/dex/dex_file_verifier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/art_dex_file_loader.cc:31: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/instruction_simplifier_shared.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/intrinsics_arm_vixl.cc art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/nodes_shared.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/signature-inl.h:22: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file_verifier.h:26: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/scheduler_arm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/utils/arm/assembler_arm_vixl.cc host C++: libart-compiler <= art/compiler/utils/arm/constants_arm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/leb128.h:26, from art/libdexfile/dex/type_lookup_table.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/utils/arm/jni_macro_assembler_arm_vixl.cc host C++: libart-compiler <= art/compiler/utils/arm/managed_register_arm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/compiled_method.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/debug/elf_debug_writer.cc libandroidfw/AssetManager2.cpp: In member function 'const android::AssetManager2::ApkAssetsPtr& android::AssetManager2::GetApkAssets(android::ApkAssetsCookie) const': libandroidfw/AssetManager2.cpp:1611:28: warning: comparison of integer expressions of different signedness: 'android::ApkAssetsCookie' {aka 'int'} and 'std::vector, android::sp > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1611 | if (cookie < 0 || cookie >= apk_assets_.size()) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/dex/inline_method_analyser.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/dex/verified_method.cc In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/libdexfile/dex/primitive.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_instruction.h:23, from art/libdexfile/dex/dex_instruction-inl.h:20, from art/libdexfile/dex/dex_instruction.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/type_lookup_table.cc:24: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/dex/verification_results.cc host C++: libart-compiler <= art/compiler/driver/compiled_method_storage.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_instruction.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_instruction.h:23, from art/libdexfile/dex/dex_instruction_utils.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction_utils.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/value_object.h:20, from art/compiler/utils/managed_register.h:23, from art/compiler/utils/arm64/managed_register_arm64.h:23, from art/compiler/utils/arm64/managed_register_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/driver/compiler_options.cc In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/method_reference.h:22, from out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/method_reference.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics_arm64.h:20, from art/compiler/optimizing/intrinsics_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator_arm_vixl.h:21, from art/compiler/optimizing/code_generator_vector_arm_vixl.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/driver/dex_compilation_unit.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:30, from art/compiler/debug/elf_debug_writer.h:28, 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 | ^~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/utils/arm64/assembler_arm64.h:26, from art/compiler/utils/arm64/jni_macro_assembler_arm64.h:26, from art/compiler/utils/arm64/jni_macro_assembler_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/LoadedArsc.cpp: In static member function 'static std::unique_ptr android::LoadedPackage::Load(const android::Chunk&, android::package_property_t)': libandroidfw/LoadedArsc.cpp:801:19: warning: redundant move in return statement [-Wredundant-move] 801 | return std::move(loaded_package); | ~~~~~~~~~^~~~~~~~~~~~~~~~ libandroidfw/LoadedArsc.cpp:801:19: note: remove 'std::move' call In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/standard_dex_file.h:22, from art/libdexfile/dex/standard_dex_file.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'art::dex::TypeIndex art::DexFileVerifier::FindFirstClassDataDefiner(const uint8_t*, bool*)': art/libdexfile/dex/dex_file_verifier.cc:165:23: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2127:5: note: in expansion of macro 'LOAD_FIELD' 2127 | LOAD_FIELD(field, read_field.GetIndex(), "first_class_data_definer field_id", | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:165:23: note: remove parentheses 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2127:5: note: in expansion of macro 'LOAD_FIELD' 2127 | LOAD_FIELD(field, read_field.GetIndex(), "first_class_data_definer field_id", | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2135:5: note: in expansion of macro 'LOAD_METHOD' 2135 | LOAD_METHOD(method, read_method.GetIndex(), "first_class_data_definer method_id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2135:5: note: in expansion of macro 'LOAD_METHOD' 2135 | LOAD_METHOD(method, read_method.GetIndex(), "first_class_data_definer method_id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'art::dex::TypeIndex art::DexFileVerifier::FindFirstAnnotationsDirectoryDefiner(const uint8_t*, bool*)': art/libdexfile/dex/dex_file_verifier.cc:165:23: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2151:5: note: in expansion of macro 'LOAD_FIELD' 2151 | LOAD_FIELD(field, field_items[0].field_idx_, "first_annotations_dir_definer field_id", | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:165:23: note: remove parentheses 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2151:5: note: in expansion of macro 'LOAD_FIELD' 2151 | LOAD_FIELD(field, field_items[0].field_idx_, "first_annotations_dir_definer field_id", | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2158:5: note: in expansion of macro 'LOAD_METHOD' 2158 | LOAD_METHOD(method, method_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2158:5: note: in expansion of macro 'LOAD_METHOD' 2158 | LOAD_METHOD(method, method_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2165:5: note: in expansion of macro 'LOAD_METHOD' 2165 | LOAD_METHOD(method, parameter_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2165:5: note: in expansion of macro 'LOAD_METHOD' 2165 | LOAD_METHOD(method, parameter_items[0].method_idx_, "first_annotations_dir_definer method id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterTypeIdItem()': art/libdexfile/dex/dex_file_verifier.cc:144:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2199:3: note: in expansion of macro 'LOAD_STRING' 2199 | LOAD_STRING(descriptor, item->descriptor_idx_, "inter_type_id_item descriptor_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:144:15: note: remove parentheses 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2199:3: note: in expansion of macro 'LOAD_STRING' 2199 | LOAD_STRING(descriptor, item->descriptor_idx_, "inter_type_id_item descriptor_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterProtoIdItem()': art/libdexfile/dex/dex_file_verifier.cc:144:15: warning: unnecessary parentheses in declaration of 'shorty' [-Wparentheses] 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2225:3: note: in expansion of macro 'LOAD_STRING' 2225 | LOAD_STRING(shorty, item->shorty_idx_, "inter_proto_id_item shorty_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:144:15: note: remove parentheses 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2225:3: note: in expansion of macro 'LOAD_STRING' 2225 | LOAD_STRING(shorty, item->shorty_idx_, "inter_proto_id_item shorty_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'return_type' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2239:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2239 | LOAD_STRING_BY_TYPE(return_type, item->return_type_idx_, "inter_proto_id_item return_type_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2239:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2239 | LOAD_STRING_BY_TYPE(return_type, item->return_type_idx_, "inter_proto_id_item return_type_idx") | ^~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/jit/jit_compiler.cc art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterFieldIdItem()': art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2307:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2307 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2307:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2307 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'type_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2314:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2314 | LOAD_STRING_BY_TYPE(type_descriptor, item->type_idx_, "inter_field_id_item type_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2314:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2314 | LOAD_STRING_BY_TYPE(type_descriptor, item->type_idx_, "inter_field_id_item type_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:144:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2321:3: note: in expansion of macro 'LOAD_STRING' 2321 | LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:144:15: note: remove parentheses 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2321:3: note: in expansion of macro 'LOAD_STRING' 2321 | LOAD_STRING(descriptor, item->name_idx_, "inter_field_id_item name_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterMethodIdItem()': art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2354:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2354 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2354:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2354 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") | ^~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/jit/jit_logger.cc art/libdexfile/dex/dex_file_verifier.cc:144:15: warning: unnecessary parentheses in declaration of 'descriptor' [-Wparentheses] 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2362:3: note: in expansion of macro 'LOAD_STRING' 2362 | LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:144:15: note: remove parentheses 144 | const char* (var) = CheckLoadStringByIdx(idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2362:3: note: in expansion of macro 'LOAD_STRING' 2362 | LOAD_STRING(descriptor, item->name_idx_, "inter_method_id_item name_idx") | ^~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/dex2oat/dex2oat_options.h:29, from art/dex2oat/dex2oat.cc:147: art/compiler/driver/compiler_options_map.def: At global scope: art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CompilerFilter' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'PIC' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'HugeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'LargeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'SmallMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TinyMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'NumDexMethodsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'InlineMaxCodeUnitsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateMiniDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateBuildID' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Debuggable' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Baseline' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TopKProfileThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnHardVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnSoftVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'ResolveStartupConstStrings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpInitFailures' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFG' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFGAppend' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'RegisterAllocationStrategy' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'VerboseMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterClassDefItem()': art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'class_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2419:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2419 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2419:3: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2419 | LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") | ^~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DeduplicateCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CountHotnessInCompiledCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CheckProfiledMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpPassTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpStats' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'MaxImageBlockSize' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'superclass_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2475:5: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2475 | LOAD_STRING_BY_TYPE(superclass_descriptor, item->superclass_idx_, | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2475:5: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2475 | LOAD_STRING_BY_TYPE(superclass_descriptor, item->superclass_idx_, | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: warning: unnecessary parentheses in declaration of 'inf_descriptor' [-Wparentheses] 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2516:7: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2516 | LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:151:15: note: remove parentheses 151 | const char* (var) = CheckLoadStringByTypeIdx(type_idx, error); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2516:7: note: in expansion of macro 'LOAD_STRING_BY_TYPE' 2516 | LOAD_STRING_BY_TYPE(inf_descriptor, interfaces->GetTypeItem(i).type_idx_, | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterMethodHandleItem()': art/libdexfile/dex/dex_file_verifier.cc:165:23: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2650:7: note: in expansion of macro 'LOAD_FIELD' 2650 | LOAD_FIELD(field, index, "method_handle_item field_idx", return false); | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:165:23: note: remove parentheses 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2650:7: note: in expansion of macro 'LOAD_FIELD' 2650 | LOAD_FIELD(field, index, "method_handle_item field_idx", return false); | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2658:7: note: in expansion of macro 'LOAD_METHOD' 2658 | LOAD_METHOD(method, index, "method_handle_item method_idx", return false); | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2658:7: note: in expansion of macro 'LOAD_METHOD' 2658 | LOAD_METHOD(method, index, "method_handle_item method_idx", return false); | ^~~~~~~~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterClassDataItem()': art/libdexfile/dex/dex_file_verifier.cc:165:23: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2723:5: note: in expansion of macro 'LOAD_FIELD' 2723 | LOAD_FIELD(field, read_field.GetIndex(), "inter_class_data_item field_id", return false) | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:165:23: note: remove parentheses 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2723:5: note: in expansion of macro 'LOAD_FIELD' 2723 | LOAD_FIELD(field, read_field.GetIndex(), "inter_class_data_item field_id", return false) | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2736:5: note: in expansion of macro 'LOAD_METHOD' 2736 | LOAD_METHOD(method, it->GetIndex(), "inter_class_data_item method_id", return false) | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2736:5: note: in expansion of macro 'LOAD_METHOD' 2736 | LOAD_METHOD(method, it->GetIndex(), "inter_class_data_item method_id", return false) | ^~~~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckInterAnnotationsDirectoryItem()': art/libdexfile/dex/dex_file_verifier.cc:165:23: warning: unnecessary parentheses in declaration of 'field' [-Wparentheses] 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2766:5: note: in expansion of macro 'LOAD_FIELD' 2766 | LOAD_FIELD(field, field_item->field_idx_, "inter_annotations_directory_item field_id", | ^~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:165:23: note: remove parentheses 165 | const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2766:5: note: in expansion of macro 'LOAD_FIELD' 2766 | LOAD_FIELD(field, field_item->field_idx_, "inter_annotations_directory_item field_id", | ^~~~~~~~~~ host C++: libart-compiler <= art/compiler/jni/quick/calling_convention.cc art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2783:5: note: in expansion of macro 'LOAD_METHOD' 2783 | LOAD_METHOD(method, method_item->method_idx_, "inter_annotations_directory_item method_id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2783:5: note: in expansion of macro 'LOAD_METHOD' 2783 | LOAD_METHOD(method, method_item->method_idx_, "inter_annotations_directory_item method_id", | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: warning: unnecessary parentheses in declaration of 'parameter_method' [-Wparentheses] 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2800:5: note: in expansion of macro 'LOAD_METHOD' 2800 | LOAD_METHOD(parameter_method, parameter_item->method_idx_, | ^~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:158:24: note: remove parentheses 158 | const dex::MethodId* (var) = CheckLoadMethodId(idx, error_string); \ | ^~~~~ art/libdexfile/dex/dex_file_verifier.cc:2800:5: note: in expansion of macro 'LOAD_METHOD' 2800 | LOAD_METHOD(parameter_method, parameter_item->method_idx_, | ^~~~~~~~~~~ host C++: libart-compiler <= art/compiler/jni/quick/jni_compiler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator_arm_vixl.h:21, from art/compiler/optimizing/code_generator_arm_vixl.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/block_builder.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/instruction_simplifier_arm64.h:20, from art/compiler/optimizing/instruction_simplifier_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/arm64/instruction_set_features_arm64.h:20, from art/compiler/utils/arm64/assembler_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/bounds_check_elimination.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator_arm64.h:21, from art/compiler/optimizing/code_generator_vector_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/builder.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/jni/quick/calling_convention.h:20, from art/compiler/jni/quick/arm64/calling_convention_arm64.h:21, from art/compiler/jni/quick/arm64/calling_convention_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from system/core/libutils/include/utils/RefBase.h:225, from libandroidfw/include/androidfw/AssetManager2.h:20: system/core/libutils/include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::has_trivial_copy>::type android::copy_type(TYPE*, const TYPE*, size_t) [with TYPE = key_value_pair_t; typename std::enable_if::has_trivial_copy>::type = void; size_t = long unsigned int]': system/core/libutils/include/utils/SortedVector.h:268:14: required from 'void android::SortedVector::do_copy(void*, const void*, size_t) const [with TYPE = android::key_value_pair_t; size_t = long unsigned int]' 268 | copy_type( reinterpret_cast(dest), reinterpret_cast(from), num ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/SortedVector.h:267:26: required from here 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/TypeHelpers.h:163:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct android::key_value_pair_t' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 163 | memcpy(d,s,n*sizeof(TYPE)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/TypeHelpers.h:258:8: note: 'struct android::key_value_pair_t' declared here 258 | struct key_value_pair_t { | ^~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/dex_instruction.cc:26: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ system/core/libutils/include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::has_trivial_copy>::type android::copy_type(TYPE*, const TYPE*, size_t) [with TYPE = key_value_pair_t; typename std::enable_if::has_trivial_copy>::type = void; size_t = long unsigned int]': system/core/libutils/include/utils/SortedVector.h:268:14: required from 'void android::SortedVector::do_copy(void*, const void*, size_t) const [with TYPE = android::key_value_pair_t; size_t = long unsigned int]' 268 | copy_type( reinterpret_cast(dest), reinterpret_cast(from), num ); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/SortedVector.h:267:26: required from here 267 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const { | ^~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/TypeHelpers.h:163:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct android::key_value_pair_t' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 163 | memcpy(d,s,n*sizeof(TYPE)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/TypeHelpers.h:258:8: note: 'struct android::key_value_pair_t' declared here 258 | struct key_value_pair_t { | ^~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/dex2oat/dex2oat_options.def: At global scope: art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CompactDexLevel' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:37:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:37:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.def:37:54: warning: declaration of 'art::Dex2oatArgumentMap::Key art::Dex2oatArgumentMap::CompactDexLevel' changes meaning of 'CompactDexLevel' [-Wchanges-meaning] 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:70: note: in definition of macro 'DEX2OAT_OPTIONS_KEY' 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~ art/dex2oat/dex2oat_options.def:37:22: note: used here to mean 'enum class art::CompactDexLevel' 37 | DEX2OAT_OPTIONS_KEY (CompactDexLevel, CompactDexLevel) | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:63: note: in definition of macro 'DEX2OAT_OPTIONS_KEY' 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~ In file included from art/dex2oat/dex2oat_options.h:28: art/libdexfile/dex/compact_dex_level.h:27:12: note: declared here 27 | enum class CompactDexLevel { | ^~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DexFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:38:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 38 | DEX2OAT_OPTIONS_KEY (std::vector, DexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:38:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 38 | DEX2OAT_OPTIONS_KEY (std::vector, DexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DexLocations' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:39:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 39 | DEX2OAT_OPTIONS_KEY (std::vector, DexLocations) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:39:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 39 | DEX2OAT_OPTIONS_KEY (std::vector, DexLocations) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ZipFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:40:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 40 | DEX2OAT_OPTIONS_KEY (int, ZipFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:40:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 40 | DEX2OAT_OPTIONS_KEY (int, ZipFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ZipLocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:41:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 41 | DEX2OAT_OPTIONS_KEY (std::string, ZipLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:41:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 41 | DEX2OAT_OPTIONS_KEY (std::string, ZipLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InputVdexFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:42:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 42 | DEX2OAT_OPTIONS_KEY (int, InputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:42:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 42 | DEX2OAT_OPTIONS_KEY (int, InputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InputVdex' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:43:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 43 | DEX2OAT_OPTIONS_KEY (std::string, InputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:43:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 43 | DEX2OAT_OPTIONS_KEY (std::string, InputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OutputVdexFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:44:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 44 | DEX2OAT_OPTIONS_KEY (int, OutputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:44:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 44 | DEX2OAT_OPTIONS_KEY (int, OutputVdexFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OutputVdex' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:45:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 45 | DEX2OAT_OPTIONS_KEY (std::string, OutputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:45:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 45 | DEX2OAT_OPTIONS_KEY (std::string, OutputVdex) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DmFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:46:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 46 | DEX2OAT_OPTIONS_KEY (int, DmFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:46:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 46 | DEX2OAT_OPTIONS_KEY (int, DmFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DmFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:47:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 47 | DEX2OAT_OPTIONS_KEY (std::string, DmFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:47:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 47 | DEX2OAT_OPTIONS_KEY (std::string, DmFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:48:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 48 | DEX2OAT_OPTIONS_KEY (std::vector, OatFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:48:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 48 | DEX2OAT_OPTIONS_KEY (std::vector, OatFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatSymbols' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:49:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 49 | DEX2OAT_OPTIONS_KEY (std::vector, OatSymbols) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:49:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 49 | DEX2OAT_OPTIONS_KEY (std::vector, OatSymbols) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Strip' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:50:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 50 | DEX2OAT_OPTIONS_KEY (Unit, Strip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:50:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 50 | DEX2OAT_OPTIONS_KEY (Unit, Strip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:51:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 51 | DEX2OAT_OPTIONS_KEY (int, OatFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:51:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 51 | DEX2OAT_OPTIONS_KEY (int, OatFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'OatLocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:52:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 52 | DEX2OAT_OPTIONS_KEY (std::string, OatLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:52:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 52 | DEX2OAT_OPTIONS_KEY (std::string, OatLocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Watchdog' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:53:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 53 | DEX2OAT_OPTIONS_KEY (bool, Watchdog) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:53:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 53 | DEX2OAT_OPTIONS_KEY (bool, Watchdog) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'WatchdogTimeout' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:54:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 54 | DEX2OAT_OPTIONS_KEY (int, WatchdogTimeout) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:54:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 54 | DEX2OAT_OPTIONS_KEY (int, WatchdogTimeout) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Threads' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:55:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 55 | DEX2OAT_OPTIONS_KEY (unsigned int, Threads) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:55:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 55 | DEX2OAT_OPTIONS_KEY (unsigned int, Threads) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageFilenames' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:56:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 56 | DEX2OAT_OPTIONS_KEY (std::vector, ImageFilenames) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:56:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 56 | DEX2OAT_OPTIONS_KEY (std::vector, ImageFilenames) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageClasses' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:57:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 57 | DEX2OAT_OPTIONS_KEY (std::string, ImageClasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:57:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 57 | DEX2OAT_OPTIONS_KEY (std::string, ImageClasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageClassesZip' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:58:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 58 | DEX2OAT_OPTIONS_KEY (std::string, ImageClassesZip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:58:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 58 | DEX2OAT_OPTIONS_KEY (std::string, ImageClassesZip) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ImageFormat' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:59:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 59 | DEX2OAT_OPTIONS_KEY (ImageHeader::StorageMode, ImageFormat) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:59:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 59 | DEX2OAT_OPTIONS_KEY (ImageHeader::StorageMode, ImageFormat) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Passes' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:60:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 60 | DEX2OAT_OPTIONS_KEY (std::string, Passes) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:60:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 60 | DEX2OAT_OPTIONS_KEY (std::string, Passes) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Base' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:61:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 61 | DEX2OAT_OPTIONS_KEY (std::string, Base) // TODO: Hex string parsing. | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:61:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 61 | DEX2OAT_OPTIONS_KEY (std::string, Base) // TODO: Hex string parsing. | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'BootImage' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:62:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 62 | DEX2OAT_OPTIONS_KEY (std::string, BootImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:62:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 62 | DEX2OAT_OPTIONS_KEY (std::string, BootImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AndroidRoot' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:63:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 63 | DEX2OAT_OPTIONS_KEY (std::string, AndroidRoot) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:63:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 63 | DEX2OAT_OPTIONS_KEY (std::string, AndroidRoot) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSet' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:64:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 64 | DEX2OAT_OPTIONS_KEY (InstructionSet, TargetInstructionSet) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:64:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 64 | DEX2OAT_OPTIONS_KEY (InstructionSet, TargetInstructionSet) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSetVariant' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:65:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 65 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetVariant) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:65:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 65 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetVariant) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'TargetInstructionSetFeatures' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:66:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 66 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetFeatures) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:66:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 66 | DEX2OAT_OPTIONS_KEY (std::string, TargetInstructionSetFeatures) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Backend' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:67:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 67 | DEX2OAT_OPTIONS_KEY (Compiler::Kind, Backend) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:67:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 67 | DEX2OAT_OPTIONS_KEY (Compiler::Kind, Backend) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Profile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:68:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 68 | DEX2OAT_OPTIONS_KEY (std::string, Profile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:68:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 68 | DEX2OAT_OPTIONS_KEY (std::string, Profile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ProfileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:69:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 69 | DEX2OAT_OPTIONS_KEY (int, ProfileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:69:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 69 | DEX2OAT_OPTIONS_KEY (int, ProfileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'Host' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:70:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 70 | DEX2OAT_OPTIONS_KEY (Unit, Host) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:70:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 70 | DEX2OAT_OPTIONS_KEY (Unit, Host) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpTiming' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:71:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 71 | DEX2OAT_OPTIONS_KEY (Unit, DumpTiming) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:71:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 71 | DEX2OAT_OPTIONS_KEY (Unit, DumpTiming) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpPasses' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:72:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 72 | DEX2OAT_OPTIONS_KEY (Unit, DumpPasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:72:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 72 | DEX2OAT_OPTIONS_KEY (Unit, DumpPasses) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DumpStats' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:73:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 73 | DEX2OAT_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:73:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 73 | DEX2OAT_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CopyDexFiles' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:74:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 74 | DEX2OAT_OPTIONS_KEY (linker::CopyOption, CopyDexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:74:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 74 | DEX2OAT_OPTIONS_KEY (linker::CopyOption, CopyDexFiles) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AvoidStoringInvocation' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:75:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 75 | DEX2OAT_OPTIONS_KEY (Unit, AvoidStoringInvocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:75:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 75 | DEX2OAT_OPTIONS_KEY (Unit, AvoidStoringInvocation) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:76:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 76 | DEX2OAT_OPTIONS_KEY (std::string, SwapFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:76:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 76 | DEX2OAT_OPTIONS_KEY (std::string, SwapFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapFileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:77:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 77 | DEX2OAT_OPTIONS_KEY (int, SwapFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:77:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 77 | DEX2OAT_OPTIONS_KEY (int, SwapFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapDexSizeThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:78:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 78 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexSizeThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:78:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 78 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexSizeThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'SwapDexCountThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:79:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 79 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexCountThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:79:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 79 | DEX2OAT_OPTIONS_KEY (unsigned int, SwapDexCountThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'VeryLargeAppThreshold' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:80:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 80 | DEX2OAT_OPTIONS_KEY (unsigned int, VeryLargeAppThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:80:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 80 | DEX2OAT_OPTIONS_KEY (unsigned int, VeryLargeAppThreshold) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AppImageFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:81:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 81 | DEX2OAT_OPTIONS_KEY (std::string, AppImageFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:81:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 81 | DEX2OAT_OPTIONS_KEY (std::string, AppImageFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'AppImageFileFd' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:82:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 82 | DEX2OAT_OPTIONS_KEY (int, AppImageFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:82:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 82 | DEX2OAT_OPTIONS_KEY (int, AppImageFileFd) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'MultiImage' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:83:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 83 | DEX2OAT_OPTIONS_KEY (Unit, MultiImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:83:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 83 | DEX2OAT_OPTIONS_KEY (Unit, MultiImage) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'NoInlineFrom' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:84:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 84 | DEX2OAT_OPTIONS_KEY (std::string, NoInlineFrom) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:84:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 84 | DEX2OAT_OPTIONS_KEY (std::string, NoInlineFrom) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ForceDeterminism' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:85:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 85 | DEX2OAT_OPTIONS_KEY (Unit, ForceDeterminism) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:85:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 85 | DEX2OAT_OPTIONS_KEY (Unit, ForceDeterminism) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClasspathDir' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:86:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 86 | DEX2OAT_OPTIONS_KEY (std::string, ClasspathDir) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:86:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 86 | DEX2OAT_OPTIONS_KEY (std::string, ClasspathDir) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'InvocationFile' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:87:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 87 | DEX2OAT_OPTIONS_KEY (std::string, InvocationFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:87:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 87 | DEX2OAT_OPTIONS_KEY (std::string, InvocationFile) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClassLoaderContext' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:88:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 88 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:88:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 88 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'ClassLoaderContextFds' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:89:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 89 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContextFds) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:89:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 89 | DEX2OAT_OPTIONS_KEY (std::string, ClassLoaderContextFds) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'StoredClassLoaderContext' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:90:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 90 | DEX2OAT_OPTIONS_KEY (std::string, StoredClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:90:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 90 | DEX2OAT_OPTIONS_KEY (std::string, StoredClassLoaderContext) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'DirtyImageObjects' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:91:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 91 | DEX2OAT_OPTIONS_KEY (std::string, DirtyImageObjects) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:91:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 91 | DEX2OAT_OPTIONS_KEY (std::string, DirtyImageObjects) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'RuntimeOptions' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:92:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 92 | DEX2OAT_OPTIONS_KEY (std::vector, RuntimeOptions) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:92:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 92 | DEX2OAT_OPTIONS_KEY (std::vector, RuntimeOptions) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: warning: unnecessary parentheses in declaration of 'CompilationReason' [-Wparentheses] 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:93:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 93 | DEX2OAT_OPTIONS_KEY (std::string, CompilationReason) | ^~~~~~~~~~~~~~~~~~~ art/dex2oat/dex2oat_options.h:71:69: note: remove parentheses 71 | #define DEX2OAT_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/dex2oat/dex2oat_options.def:93:1: note: in expansion of macro 'DEX2OAT_OPTIONS_KEY' 93 | DEX2OAT_OPTIONS_KEY (std::string, CompilationReason) | ^~~~~~~~~~~~~~~~~~~ libandroidfw/AssetManager2.cpp: In member function 'android::base::expected android::Theme::SetTo(const android::Theme&)': libandroidfw/AssetManager2.cpp:1797:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1797 | for (size_t i = 0; i < source.asset_manager_->GetApkAssetsCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/compiler/dex/inline_method_analyser.h:20, from art/compiler/dex/inline_method_analyser.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/cha_guard_optimization.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics_arm_vixl.h:20, from art/compiler/optimizing/intrinsics_arm_vixl.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libandroidfw/AssetManager2.cpp:1912:71: warning: missing initializer for member 'android::Res_value::size' [-Wmissing-field-initializers] 1912 | .data = attribute_data}}); | ^ libandroidfw/AssetManager2.cpp:1912:71: warning: missing initializer for member 'android::Res_value::res0' [-Wmissing-field-initializers] In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator_arm64.h:21, from art/compiler/optimizing/code_generator_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/compiler/jni/quick/calling_convention.h:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/code_generator.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/code_generator_utils.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/instruction_simplifier_arm.h:20, from art/compiler/optimizing/instruction_simplifier_arm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/jni/quick/calling_convention.h:20, from art/compiler/jni/quick/arm/calling_convention_arm.h:21, from art/compiler/jni/quick/arm/calling_convention_arm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/code_sinking.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:30, from art/compiler/debug/elf_debug_writer.h:28, from art/compiler/jit/jit_compiler.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/jit/jit.h:20, from art/compiler/jit/jit_compiler.cc:33: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/value_object.h:20, from art/compiler/utils/managed_register.h:23, from art/compiler/utils/arm/managed_register_arm.h:23, from art/compiler/utils/arm/managed_register_arm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. In file included from art/runtime/thread.h:37, from art/compiler/jni/quick/calling_convention.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart-compiler <= art/compiler/optimizing/constant_folding.cc host C++: libart-compiler <= art/compiler/optimizing/constructor_fence_redundancy_elimination.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/compiler/debug/elf_debug_writer.h:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/compiler/jni/quick/calling_convention.h:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/data_type.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/jit/jit.h:20, from art/compiler/jit/jit_logger.cc:23: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/scheduler.h:22, from art/compiler/optimizing/scheduler_arm64.h:20, from art/compiler/optimizing/scheduler_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/dead_code_elimination.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator_arm_vixl.h:21, from art/compiler/optimizing/scheduler_arm.h:20, from art/compiler/optimizing/scheduler_arm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/escape.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/compiled_method.h:24, from art/compiler/compiled_method.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/compiler/jni/quick/calling_convention.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/graph_checker.cc In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/nodes_shared.cc:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/debug/elf_debug_writer.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/jni/quick/jni_compiler.h:22, from art/compiler/jni/quick/jni_compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/compiler/dex/verification_results.h:24, from art/compiler/dex/verification_results.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/dex/inline_method_analyser.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/instruction_simplifier_shared.h:20, from art/compiler/optimizing/instruction_simplifier_shared.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/dex/verification_results.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/driver/dex_compilation_unit.h:22, from art/compiler/driver/dex_compilation_unit.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/graph_visualizer.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/utils/arm/jni_macro_assembler_arm_vixl.h:22, from art/compiler/utils/arm/jni_macro_assembler_arm_vixl.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/data_hash.h:20, from art/libartbase/base/hash_set.h:31, from art/compiler/driver/compiler_options.h:26, from art/compiler/driver/compiler_options.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/utils/swap_space.h:30, from art/compiler/driver/compiled_method_storage.h:28, from art/compiler/compiled_method.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/gvn.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/utils/arm/assembler_arm_vixl.h:22, from art/compiler/utils/arm/assembler_arm_vixl.cc:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/dex/verified_method.h:22, from art/compiler/dex/verified_method.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/compiler/debug/method_debug_info.h:24, from art/compiler/debug/debug_info.h:23, from art/compiler/debug/elf_debug_writer.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/scheduler.h:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/compiler/driver/compiled_method_storage.h:26, from art/compiler/driver/compiled_method_storage.cc:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/compiler/dex/inline_method_analyser.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/driver/dex_compilation_unit.h:24: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/compiler/driver/dex_compilation_unit.h:25: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/induction_var_analysis.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/method_reference.h:22, from art/compiler/dex/verification_results.h:28: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/induction_var_range.cc In file included from art/runtime/base/mutex.h:31, from art/compiler/utils/swap_space.h:30, from art/compiler/driver/compiled_method_storage.h:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/inliner.cc In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/compiler/dex/inline_method_analyser.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/dex/verified_method.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/instruction_builder.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/compiler/debug/elf_debug_info_writer.h:24, from art/compiler/debug/elf_debug_writer.cc:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/bounds_check_elimination.h:20, from art/compiler/optimizing/bounds_check_elimination.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/instruction_simplifier.cc In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/jni/quick/calling_convention.h:20, from art/compiler/jni/quick/calling_convention.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/jit/jit_logger.h:22, from art/compiler/jit/jit_logger.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/jit/jit_compiler.h:20, from art/compiler/jit/jit_compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/compiler/dex/verification_results.cc:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/compiler/jni/quick/calling_convention.h:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/compiler/jit/jit_logger.cc:20: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/intrinsic_objects.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/block_builder.h:20, from art/compiler/optimizing/block_builder.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/code_generator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/builder.h:20, from art/compiler/optimizing/builder.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/compiler/jni/quick/jni_compiler.cc:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/intrinsics.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34, from art/compiler/driver/dex_compilation_unit.cc:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/licm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/method_reference.h:22, from art/compiler/linker/linker_patch.h:26, from art/compiler/driver/compiled_method_storage.cc:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/compiler/jni/quick/calling_convention.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ system/core/libutils/include/utils/SortedVector.h: In instantiation of 'android::SortedVector::SortedVector(const android::SortedVector&) [with TYPE = android::key_value_pair_t]': system/core/libutils/include/utils/KeyedVector.h:36:7: required from 'constexpr void std::_Construct(_Tp*, _Args&& ...) [with _Tp = android::OverlayDynamicRefTable; _Args = {android::OverlayDynamicRefTable}]' 36 | class KeyedVector | ^~~~~~~~~~~ /usr/include/c++/15.2.0/bits/alloc_traits.h:805:19: required from 'static constexpr void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = android::OverlayDynamicRefTable; _Args = {android::OverlayDynamicRefTable}; allocator_type = std::allocator]' 805 | { std::_Construct(__p, std::forward<_Args>(__args)...); } | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/bits/shared_ptr_base.h:606:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {android::OverlayDynamicRefTable}; _Tp = android::OverlayDynamicRefTable; _Alloc = std::allocator; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' 606 | allocator_traits<_Alloc>::construct(__a, _M_ptr(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 607 | std::forward<_Args>(__args)...); // might throw | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/bits/shared_ptr_base.h:969:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = android::OverlayDynamicRefTable; _Alloc = std::allocator; _Args = {android::OverlayDynamicRefTable}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' 969 | auto __pi = ::new (__mem) | ^~~~~~~~~~~~~ 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/bits/shared_ptr_base.h:1719:14: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator; _Args = {android::OverlayDynamicRefTable}; _Tp = android::OverlayDynamicRefTable; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]' 1719 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/bits/shared_ptr.h:463:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator; _Args = {android::OverlayDynamicRefTable}; _Tp = android::OverlayDynamicRefTable]' 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/include/c++/15.2.0/bits/shared_ptr.h:1007:14: required from 'std::shared_ptr > std::make_shared(_Args&& ...) [with _Tp = android::OverlayDynamicRefTable; _Args = {android::OverlayDynamicRefTable}; _NonArray<_Tp> = android::OverlayDynamicRefTable]' 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1008 | std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/AssetManager2.cpp:182:69: required from here 182 | overlay_ref_table = std::make_shared( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 183 | loaded_idmap->GetOverlayDynamicRefTable(target_package_id)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system/core/libutils/include/utils/SortedVector.h:170:27: warning: implicitly-declared 'android::SortedVectorImpl::SortedVectorImpl(const android::SortedVectorImpl&)' is deprecated [-Wdeprecated-copy] 170 | : SortedVectorImpl(rhs) { | ^ In file included from system/core/libutils/include/utils/Vector.h:25: system/core/libutils/include/utils/VectorImpl.h:138:27: note: because 'android::SortedVectorImpl' has user-provided 'android::SortedVectorImpl& android::SortedVectorImpl::operator=(const android::SortedVectorImpl&)' 138 | SortedVectorImpl& operator = (const SortedVectorImpl& rhs); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/compiler/driver/compiler_options.cc:29: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/linear_order.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/compiler/optimizing/builder.h:23: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/cha_guard_optimization.h:20, from art/compiler/optimizing/cha_guard_optimization.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/code_sinking.h:20, from art/compiler/optimizing/code_sinking.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/compiler/driver/compiled_method_storage.cc:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/graph_visualizer.h:22, from art/compiler/optimizing/graph_visualizer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart-compiler <= art/compiler/optimizing/load_store_analysis.cc In file included from art/runtime/jit/jit.h:20, from art/compiler/optimizing/inliner.cc:35: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/code_generator_utils.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/compiler/jit/jit_compiler.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/load_store_elimination.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/escape.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/locations.cc art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/graph_checker.h:22, from art/compiler/optimizing/graph_checker.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/constant_folding.h:20, from art/compiler/optimizing/constant_folding.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/loop_analysis.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/loop_optimization.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38, from art/compiler/dex/verified_method.cc:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/dead_code_elimination.h:20, from art/compiler/optimizing/dead_code_elimination.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/nodes.cc host C++: libart-compiler <= art/compiler/optimizing/optimization.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/optimizing_compiler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/parallel_move_resolver.cc art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/gvn.h:20, from art/compiler/optimizing/gvn.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/optimizing/prepare_for_register_allocation.cc In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_entrypoints.h:22, from art/compiler/utils/arm/jni_macro_assembler_arm_vixl.cc:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/cmdline/cmdline_types.h:35, from art/cmdline/detail/cmdline_parse_argument_detail.h:31, from art/cmdline/cmdline_parser.h:23, from art/compiler/driver/compiler_options.cc:30: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/compiler/utils/arm/jni_macro_assembler_arm_vixl.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/builder.h:25: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/compiler/jni/quick/calling_convention.h:25, from art/compiler/jni/quick/jni_compiler.cc:33: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/constructor_fence_redundancy_elimination.h:20, from art/compiler/optimizing/constructor_fence_redundancy_elimination.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/optimizing/block_builder.h:23: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/reference_type_propagation.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/graph_checker.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/compiler/optimizing/graph_visualizer.cc:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/inliner.h:22, from art/compiler/optimizing/inliner.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/code_item_accessors-inl.h:24, from art/libdexfile/dex/class_accessor-inl.h:26, from art/libdexfile/dex/dex_file_verifier.cc:27: In static member function 'static const art::dex::TryItem* art::DexFile::GetTryItems(const art::DexInstructionIterator&, uint32_t)', inlined from 'static const uint8_t* art::DexFile::GetCatchHandlerData(const art::DexInstructionIterator&, uint32_t, uint32_t)' at art/libdexfile/dex/dex_file-inl.h:449:51, inlined from 'const uint8_t* art::CodeItemDataAccessor::GetCatchHandlerData(size_t) const' at art/libdexfile/dex/code_item_accessors-inl.h:137:38, inlined from 'bool art::DexFileVerifier::CheckAndGetHandlerOffsets(const art::dex::CodeItem*, uint32_t*, uint32_t)' at art/libdexfile/dex/dex_file_verifier.cc:533:62: art/libdexfile/dex/dex_file-inl.h:167:11: warning: 'accessor.art::CodeItemDataAccessor::tries_size_' may be used uninitialized [-Wmaybe-uninitialized] 167 | offset; | ^~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckAndGetHandlerOffsets(const art::dex::CodeItem*, uint32_t*, uint32_t)': art/libdexfile/dex/dex_file_verifier.cc:532:24: note: 'accessor.art::CodeItemDataAccessor::tries_size_' was declared here 532 | CodeItemDataAccessor accessor(*dex_file_, code_item); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/block_builder.h:24: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/induction_var_analysis.h:22, from art/compiler/optimizing/induction_var_analysis.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/driver/compiler_options_map-inl.h:20, from art/compiler/driver/compiler_options.cc:31: art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CompilerFilter' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:39:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 39 | COMPILER_OPTIONS_KEY (std::string, CompilerFilter) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'PIC' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:40:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 40 | COMPILER_OPTIONS_KEY (Unit, PIC) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'HugeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:41:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 41 | COMPILER_OPTIONS_KEY (unsigned int, HugeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'LargeMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:42:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 42 | COMPILER_OPTIONS_KEY (unsigned int, LargeMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'SmallMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:43:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 43 | COMPILER_OPTIONS_KEY (unsigned int, SmallMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TinyMethodMaxThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:44:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 44 | COMPILER_OPTIONS_KEY (unsigned int, TinyMethodMaxThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'NumDexMethodsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:45:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 45 | COMPILER_OPTIONS_KEY (unsigned int, NumDexMethodsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'InlineMaxCodeUnitsThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:46:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 46 | COMPILER_OPTIONS_KEY (unsigned int, InlineMaxCodeUnitsThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:47:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 47 | COMPILER_OPTIONS_KEY (bool, GenerateDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateMiniDebugInfo' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:48:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 48 | COMPILER_OPTIONS_KEY (bool, GenerateMiniDebugInfo) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'GenerateBuildID' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:49:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 49 | COMPILER_OPTIONS_KEY (bool, GenerateBuildID) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Debuggable' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:50:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 50 | COMPILER_OPTIONS_KEY (Unit, Debuggable) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'Baseline' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:51:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 51 | COMPILER_OPTIONS_KEY (Unit, Baseline) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'TopKProfileThreshold' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:52:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 52 | COMPILER_OPTIONS_KEY (double, TopKProfileThreshold) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnHardVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:53:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 53 | COMPILER_OPTIONS_KEY (bool, AbortOnHardVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'AbortOnSoftVerifierFailure' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:54:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 54 | COMPILER_OPTIONS_KEY (bool, AbortOnSoftVerifierFailure) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'ResolveStartupConstStrings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:55:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 55 | COMPILER_OPTIONS_KEY (bool, ResolveStartupConstStrings, false) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpInitFailures' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:56:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 56 | COMPILER_OPTIONS_KEY (std::string, DumpInitFailures) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFG' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:57:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 57 | COMPILER_OPTIONS_KEY (std::string, DumpCFG) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpCFGAppend' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:58:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 58 | COMPILER_OPTIONS_KEY (Unit, DumpCFGAppend) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'RegisterAllocationStrategy' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:60:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 60 | COMPILER_OPTIONS_KEY (std::string, RegisterAllocationStrategy) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'VerboseMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:61:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 61 | COMPILER_OPTIONS_KEY (ParseStringList<','>, VerboseMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DeduplicateCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:62:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 62 | COMPILER_OPTIONS_KEY (bool, DeduplicateCode, true) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CountHotnessInCompiledCode' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:63:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 63 | COMPILER_OPTIONS_KEY (Unit, CountHotnessInCompiledCode) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'CheckProfiledMethods' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:64:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 64 | COMPILER_OPTIONS_KEY (ProfileMethodsCheck, CheckProfiledMethods) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:65:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 65 | COMPILER_OPTIONS_KEY (Unit, DumpTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpPassTimings' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:66:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 66 | COMPILER_OPTIONS_KEY (Unit, DumpPassTimings) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'DumpStats' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:67:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 67 | COMPILER_OPTIONS_KEY (Unit, DumpStats) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: warning: unnecessary parentheses in declaration of 'MaxImageBlockSize' [-Wparentheses] 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ art/compiler/driver/compiler_options_map.h:39:70: note: remove parentheses 39 | #define COMPILER_OPTIONS_KEY(Type, Name, ...) static const Key (Name); | ^~~~~~ art/compiler/driver/compiler_options_map.def:68:1: note: in expansion of macro 'COMPILER_OPTIONS_KEY' 68 | COMPILER_OPTIONS_KEY (unsigned int, MaxImageBlockSize) | ^~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/instruction_builder.h:21, from art/compiler/optimizing/instruction_builder.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_entrypoints.h:22, from art/compiler/utils/arm64/jni_macro_assembler_arm64.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37, from art/compiler/optimizing/optimization.h:21, from art/compiler/optimizing/bounds_check_elimination.h:20, from art/compiler/optimizing/graph_visualizer.cc:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/compiler/utils/arm64/jni_macro_assembler_arm64.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/optimizing/register_allocation_resolver.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/register_allocator.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_entrypoints.h:22, from art/compiler/utils/arm/assembler_arm_vixl.cc:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/compiler/driver/compiler_options.cc:32: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/compiler/utils/arm/assembler_arm_vixl.cc:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/code_generator.h:20, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/intrinsics.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/register_allocator_graph_color.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:30, from art/compiler/debug/elf_debug_writer.h:28, from art/compiler/optimizing/optimizing_compiler.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/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/register_allocator_linear_scan.cc In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_entrypoints.h:22, from art/compiler/utils/arm64/assembler_arm64.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/jit/jit.h:20, from art/compiler/optimizing/optimizing_compiler.cc:51: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/compiler/utils/arm64/assembler_arm64.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/instruction_builder.h:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/compiler/jni/quick/jni_compiler.cc:36: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/compiler/optimizing/instruction_builder.h:27: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/licm.h:20, from art/compiler/optimizing/licm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/verifier/verifier_deps.h:30, from art/runtime/verifier/reg_type-inl.h:26, from art/compiler/dex/verified_method.cc:29: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart-compiler <= art/compiler/optimizing/select_generator.cc In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, 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: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41, from art/compiler/optimizing/instruction_builder.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/register_allocator.h:20, from art/compiler/optimizing/register_allocator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/prepare_for_register_allocation.h:20, from art/compiler/optimizing/prepare_for_register_allocation.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/linear_order.h:22, from art/compiler/optimizing/linear_order.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/common_arm64.h:20, from art/compiler/optimizing/instruction_simplifier_arm64.cc:19: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/optimizing/intrinsic_objects.h:22, from art/compiler/optimizing/intrinsic_objects.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/load_store_analysis.h:21, from art/compiler/optimizing/load_store_analysis.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/nodes.cc:16: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/compiler/optimizing/intrinsic_objects.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/locations.h:20, from art/compiler/optimizing/locations.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/instruction_simplifier.h:20, from art/compiler/optimizing/instruction_simplifier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/load_store_elimination.h:20, from art/compiler/optimizing/load_store_elimination.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/scheduler.cc art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/loop_analysis.h:20, from art/compiler/optimizing/loop_analysis.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/optimizing/sharpening.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc: In member function 'bool art::DexFileVerifier::CheckIntraCodeItem()': art/libdexfile/dex/dex_file_verifier.cc:1241:3: warning: 'accessor.art::CodeItemDataAccessor::registers_size_' may be used uninitialized [-Wmaybe-uninitialized] 1241 | if (UNLIKELY(accessor.InsSize() > accessor.RegistersSize())) { | ^~ art/libdexfile/dex/dex_file_verifier.cc:1240:24: note: 'accessor.art::CodeItemDataAccessor::registers_size_' was declared here 1240 | CodeItemDataAccessor accessor(*dex_file_, code_item); | ^~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:1241:3: warning: 'accessor.art::CodeItemDataAccessor::ins_size_' may be used uninitialized [-Wmaybe-uninitialized] 1241 | if (UNLIKELY(accessor.InsSize() > accessor.RegistersSize())) { | ^~ art/libdexfile/dex/dex_file_verifier.cc:1240:24: note: 'accessor.art::CodeItemDataAccessor::ins_size_' was declared here 1240 | CodeItemDataAccessor accessor(*dex_file_, code_item); | ^~~~~~~~ In file included from libbase/include/android-base/logging.h:64, from art/libartbase/base/hash_set.h:29: art/libdexfile/dex/dex_file_verifier.cc:1247:40: warning: 'accessor.art::CodeItemDataAccessor::outs_size_' may be used uninitialized [-Wmaybe-uninitialized] 1247 | if (UNLIKELY(accessor.OutsSize() > 5 && accessor.OutsSize() > accessor.RegistersSize())) { libbase/include/android-base/macros.h:84:49: note: in definition of macro 'UNLIKELY' 84 | #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) | ^~~ art/libdexfile/dex/dex_file_verifier.cc:1240:24: note: 'accessor.art::CodeItemDataAccessor::outs_size_' was declared here 1240 | CodeItemDataAccessor accessor(*dex_file_, code_item); | ^~~~~~~~ art/libdexfile/dex/dex_file_verifier.cc:1266:48: warning: 'accessor.art::CodeItemDataAccessor::tries_size_' may be used uninitialized [-Wmaybe-uninitialized] 1266 | uint32_t try_items_size = accessor.TriesSize(); | ^ art/libdexfile/dex/dex_file_verifier.cc:1240:24: note: 'accessor.art::CodeItemDataAccessor::tries_size_' was declared here 1240 | CodeItemDataAccessor accessor(*dex_file_, code_item); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/optimization.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/compiler/dex/verification_results.cc:24: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/register_allocator.cc:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/parallel_move_resolver.h:20, from art/compiler/optimizing/parallel_move_resolver.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/locations.cc:21: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/register_allocator_graph_color.h:20, from art/compiler/optimizing/register_allocator_graph_color.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ 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/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/runtime_options.h: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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/runtime/runtime.h:40, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/runtime/runtime_options.h: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, HeapMaxFree, gc::Heap::kDefaultMaxFree) | ^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | RUNTIME_OPTIONS_KEY (unsigned int, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, ParallelGCThreads, 0u) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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_options.h: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 (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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/runtime_options.h: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 (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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | RUNTIME_OPTIONS_KEY (LogVerbosity, Verbose) | ^~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/loop_optimization.h:20, from art/compiler/optimizing/loop_optimization.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/optimizing/register_allocator_linear_scan.h:20, from art/compiler/optimizing/register_allocator_linear_scan.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/optimizing/optimizing_compiler.h:21, from art/compiler/optimizing/optimizing_compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/dead_code_elimination.cc: In function 'bool art::HasEquality(IfCondition)': art/compiler/optimizing/dead_code_elimination.cc:123:1: warning: control reaches end of non-void function [-Wreturn-type] 123 | } | ^ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/compiler/optimizing/optimization.h:20, from art/compiler/optimizing/select_generator.h:60, from art/compiler/optimizing/select_generator.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/parallel_move_resolver.cc:20: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, 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:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/reference_type_propagation.h:20, from art/compiler/optimizing/reference_type_propagation.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/instruction_simplifier_arm.cc:19: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/side_effects_analysis.cc In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/value_object.h:20, from art/compiler/optimizing/register_allocation_resolver.h:21, from art/compiler/optimizing/register_allocation_resolver.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/compiler/debug/elf_debug_writer.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/optimization.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/dex2oat/dex2oat.cc: In member function 'void art::Dex2Oat::ProcessOptions(ParserOptions*)': art/dex2oat/dex2oat.cc:923:16: warning: invalid conversion from 'void (*)()' to 'const void*' [-fpermissive] 923 | dladdr(art_sigsegv_fault, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~~ | | | void (*)() In file included from art/runtime/ti/agent.h:20, from art/cmdline/cmdline_types.h:41, from art/cmdline/detail/cmdline_parse_argument_detail.h:31, from art/cmdline/cmdline_parser.h:23, from art/dex2oat/dex2oat.cc:138: /usr/include/dlfcn.h:34:12: note: initializing argument 1 of 'int dladdr(const void*, Dl_info*)' 34 | int dladdr(const void *, Dl_info *); | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/compiler/optimizing/optimizing_compiler.cc:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/scheduler.h:22, from art/compiler/optimizing/scheduler.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/class.h:31, from art/runtime/mirror/class-inl.h:20, from art/compiler/optimizing/reference_type_propagation.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/sharpening.h:20, from art/compiler/optimizing/sharpening.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/ssa_builder.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/ssa_liveness_analysis.cc In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/register_allocator_graph_color.cc:19: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/register_allocation_resolver.cc:20: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/compiler/optimizing/induction_var_analysis.cc: In function 'bool art::IsGuardedBy(HLoopInformation*, IfCondition, HInstruction*, HInstruction*)': art/compiler/optimizing/induction_var_analysis.cc:138:54: warning: passing 'art::IfCondition' chooses 'int' over 'unsigned int' [-Wsign-promo] 138 | default: LOG(FATAL) << "unexpected cmp: " << cmp; | ^~~ art/compiler/optimizing/induction_var_analysis.cc:138:54: 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/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/class_root.h:20, from art/runtime/verifier/reg_type_cache-inl.h:21, from art/runtime/verifier/register_line-inl.h:25, from art/compiler/dex/verified_method.cc:30: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:836:25: warning: passing 'art::HInductionVarAnalysis::InductionOp' chooses 'int' over 'unsigned int' [-Wsign-promo] 836 | LOG(FATAL) << op; | ^~ art/compiler/optimizing/induction_var_analysis.cc:836: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/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/register_allocator_linear_scan.cc:24: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/induction_var_analysis.cc: In member function 'bool art::HInductionVarAnalysis::RewriteBreakLoop(art::HLoopInformation*, art::HBasicBlock*, int64_t, art::DataType::Type)': art/compiler/optimizing/induction_var_analysis.cc:1182:28: warning: passing 'art::IfCondition' chooses 'int' over 'unsigned int' [-Wsign-promo] 1182 | default: LOG(FATAL) << cmp; UNREACHABLE(); | ^~~ art/compiler/optimizing/induction_var_analysis.cc:1182:28: 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/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/string_reference.h:24, from art/compiler/optimizing/code_generator.h:30, from art/compiler/optimizing/scheduler.h:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/compiler/optimizing/register_allocator.cc: In static member function 'static std::unique_ptr art::RegisterAllocator::Create(art::ScopedArenaAllocator*, art::CodeGenerator*, const art::SsaLivenessAnalysis&, Strategy)': art/compiler/optimizing/register_allocator.cc:51:65: warning: passing 'art::RegisterAllocator::Strategy' chooses 'int' over 'unsigned int' [-Wsign-promo] 51 | LOG(FATAL) << "Invalid register allocation strategy: " << strategy; | ^~~~~~~~ art/compiler/optimizing/register_allocator.cc:51: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] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/side_effects_analysis.h:20, from art/compiler/optimizing/side_effects_analysis.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/instruction_simplifier_shared.cc:19: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/side_effects_analysis.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/inliner.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/compiler/optimizing/graph_checker.cc:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/driver/compiler_options.cc:35: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/code_generator.h:22: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart-compiler <= art/compiler/optimizing/ssa_phi_elimination.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/compiler/optimizing/code_generator_arm_vixl.cc:32: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/optimizing/stack_map_stream.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/code_generator_vector_arm_vixl.cc:18: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart-compiler <= art/compiler/optimizing/superblock_cloner.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:297:31: required from 'static art::SubtypeCheckInfo::State art::SubtypeCheck::GetState(ClassPtr) [with ClassPtr = art::ObjPtr]' 297 | return GetSubtypeCheckInfo(klass).GetState(); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ art/compiler/optimizing/graph_checker.cc:625:84: required from here 625 | SubtypeCheckInfo::State state = SubtypeCheck>::GetState(klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:23, from art/compiler/jit/jit_logger.cc:25: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/compiler/optimizing/graph_checker.cc:31: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/graph_visualizer.cc:27: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/code_generator.h:34: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/ssa_builder.h:20, from art/compiler/optimizing/ssa_builder.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/ssa_builder.h:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/compiler/optimizing/builder.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/scoped_arena_allocator.h:22, from art/compiler/optimizing/ssa_liveness_analysis.h:23, from art/compiler/optimizing/ssa_liveness_analysis.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-compiler <= art/compiler/trampolines/trampoline_compiler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= art/compiler/utils/assembler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/ssa_liveness_analysis.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/compiler/optimizing/stack_map_stream.h:20, from art/compiler/optimizing/stack_map_stream.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/instruction_simplifier_arm64.cc:21: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/arena_object.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:550:3: note: in expansion of macro 'DCHECK_EQ' 550 | 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:550:3: note: in expansion of macro 'DCHECK_EQ' 550 | 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:550:3: note: in expansion of macro 'DCHECK_EQ' 550 | 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:550:3: note: in expansion of macro 'DCHECK_EQ' 550 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kLinear); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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:602:3: note: in expansion of macro 'DCHECK_EQ' 602 | 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:602:3: note: in expansion of macro 'DCHECK_EQ' 602 | 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:602:3: note: in expansion of macro 'DCHECK_EQ' 602 | 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:602:3: note: in expansion of macro 'DCHECK_EQ' 602 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPolynomial); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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:628:3: note: in expansion of macro 'DCHECK_EQ' 628 | 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:628:3: note: in expansion of macro 'DCHECK_EQ' 628 | 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:628:3: note: in expansion of macro 'DCHECK_EQ' 628 | 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:628:3: note: in expansion of macro 'DCHECK_EQ' 628 | 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:889:65: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 889 | 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:902:65: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 902 | return DivValue(GetVal(info, trip, in_body, is_min == value >= 0), c); | ~~~~~~^~~~ 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:1044:3: note: in expansion of macro 'DCHECK_EQ' 1044 | 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:1044:3: note: in expansion of macro 'DCHECK_EQ' 1044 | 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:1044:3: note: in expansion of macro 'DCHECK_EQ' 1044 | 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:1044:3: note: in expansion of macro 'DCHECK_EQ' 1044 | 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:1077:3: note: in expansion of macro 'DCHECK_EQ' 1077 | 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:1077:3: note: in expansion of macro 'DCHECK_EQ' 1077 | 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:1077:3: note: in expansion of macro 'DCHECK_EQ' 1077 | 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:1077:3: note: in expansion of macro 'DCHECK_EQ' 1077 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kGeometric); | ^~~~~~~~~ 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:1129:3: note: in expansion of macro 'DCHECK_EQ' 1129 | 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:1129:3: note: in expansion of macro 'DCHECK_EQ' 1129 | 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:1129:3: note: in expansion of macro 'DCHECK_EQ' 1129 | 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:1129:3: note: in expansion of macro 'DCHECK_EQ' 1129 | 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:1151:3: note: in expansion of macro 'DCHECK_EQ' 1151 | 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:1151:3: note: in expansion of macro 'DCHECK_EQ' 1151 | 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:1151:3: note: in expansion of macro 'DCHECK_EQ' 1151 | 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:1151:3: note: in expansion of macro 'DCHECK_EQ' 1151 | DCHECK_EQ(info->induction_class, HInductionVarAnalysis::kPeriodic); | ^~~~~~~~~ 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:1157:5: note: in expansion of macro 'DCHECK_EQ' 1157 | 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:1157:5: note: in expansion of macro 'DCHECK_EQ' 1157 | 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:1157:5: note: in expansion of macro 'DCHECK_EQ' 1157 | 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:1157:5: note: in expansion of macro 'DCHECK_EQ' 1157 | 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:1162:3: note: in expansion of macro 'DCHECK_EQ' 1162 | 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:1162:3: note: in expansion of macro 'DCHECK_EQ' 1162 | 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:1162:3: note: in expansion of macro 'DCHECK_EQ' 1162 | 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:1162:3: note: in expansion of macro 'DCHECK_EQ' 1162 | DCHECK_EQ(p->induction_class, HInductionVarAnalysis::kInvariant); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart-compiler <= art/compiler/utils/jni_macro_assembler.cc In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-compiler <= art/compiler/utils/swap_space.cc In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart-compiler <= art/compiler/compiler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options.h_operator_out.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/trampolines/trampoline_compiler.h:24, from art/compiler/trampolines/trampoline_compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_field.h:20, from art/compiler/optimizing/code_generator_arm64.h:20: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/bit_field.h:20, from art/compiler/optimizing/intrinsic_objects.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/linker/linker_patch.h_operator_out.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34, from art/compiler/optimizing/stack_map_stream.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/utils/assembler.h:24, from art/compiler/utils/assembler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/scheduler_arm64.cc:20: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/optimizing_compiler_stats.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/cha_guard_optimization.cc: In member function 'void art::CHAGuardVisitor::_ZN3art15CHAGuardVisitor15VisitBasicBlockEPNS_11HBasicBlockE.part.0(art::HBasicBlock*)': 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: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/compiler/debug/elf_debug_loc_writer.h:28, from art/compiler/debug/elf_debug_info_writer.h:26: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/compiler/optimizing/code_generator_arm64.cc:32: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/compiler/optimizing/instruction_builder.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/instruction_builder.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/jni/jni_env_ext.h:22, from art/compiler/trampolines/trampoline_compiler.cc:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/builder.cc:24: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/jni_env_ext.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/arm/constants_arm.h_operator_out.cc In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/optimization.cc:53: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/compiler/utils/swap_space.h:29, from art/compiler/utils/swap_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/superblock_cloner.h:20, from art/compiler/optimizing/superblock_cloner.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/libartbase/base/arena_bit_vector.h:20, from art/compiler/optimizing/nodes.h:25, from art/compiler/optimizing/ssa_phi_elimination.h:20, from art/compiler/optimizing/ssa_phi_elimination.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/utils/swap_space.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/instruction_simplifier_arm.cc:22: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips/assembler_mips.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/verifier/method_verifier.h:28, from art/runtime/verifier/method_verifier-inl.h:20, from art/compiler/dex/verified_method.cc:28: art/libartbase/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:233:18: required from here 233 | ProtectMemory(ptr, RegisterLine::ComputeSize(ptr->NumRegs())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:242: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] 242 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/method_verifier.h:36: art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:249: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] 249 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/inliner.cc:34: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/compiler/optimizing/code_generator_arm_vixl.cc:36: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart-compiler <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips64/assembler_mips64.h_operator_out.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host asm: libart <= art/runtime/arch/arm64/jni_entrypoints_arm64.S cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/compiler/utils/swap_space.cc:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/compiler/compiler.h:20, from art/compiler/compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ host asm: libart <= art/runtime/arch/arm64/memcmp16_arm64.S libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/nodes.cc:20: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host asm: libart <= art/runtime/arch/arm64/quick_entrypoints_arm64.S art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ host C++: libart <= art/runtime/interpreter/mterp/mterp.cc libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/compiler/optimizing/reference_type_propagation.h:21, from art/compiler/optimizing/select_generator.cc:20: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/context_arm64.cc In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/compiler/optimizing/nodes.h:30, from art/compiler/optimizing/superblock_cloner.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/data_hash.h:20, from art/libartbase/base/hash_set.h:31, from art/compiler/driver/compiler_options.h:26, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/driver/compiler_options.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/arch/arm64/entrypoints_init_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/compiler/optimizing/scheduler_arm.cc: In member function 'void art::arm::SchedulingLatencyVisitorARM::HandleGenerateConditionWithZero(art::IfCondition)': art/compiler/optimizing/scheduler_arm.cc:201:48: warning: passing 'art::IfCondition' chooses 'int' over 'unsigned int' [-Wsign-promo] 201 | LOG(FATAL) << "Unexpected condition " << condition; | ^~~~~~~~~ art/compiler/optimizing/scheduler_arm.cc:201:48: 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/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/compiler/optimizing/inliner.cc:39: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/compiler/optimizing/nodes.h:46: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'virtual void art::arm::LoadClassSlowPathARMVIXL::EmitNativeCode(art::CodeGenerator*)': art/compiler/optimizing/code_generator_arm_vixl.cc:529:62: warning: passing 'short unsigned int' chooses 'int32_t' {aka 'int'} over 'uint32_t' {aka 'unsigned int'} [-Wsign-promo] 529 | __ Mov(calling_convention.GetRegisterAt(0), type_index.index_); | ~~~~~~~~~~~^~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:529:62: warning: in call to 'vixl::aarch32::Operand::Operand(int32_t)' [-Wsign-promo] art/compiler/optimizing/builder.cc: In member function 'void art::HGraphBuilder::BuildIntrinsicGraph(art::ArtMethod*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::GraphAnalysisResult' 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/builder.cc:214:3: note: in expansion of macro 'DCHECK_EQ' 214 | DCHECK_EQ(bdt_result, kAnalysisSuccess); | ^~~~~~~~~ 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/builder.cc:214:3: note: in expansion of macro 'DCHECK_EQ' 214 | DCHECK_EQ(bdt_result, kAnalysisSuccess); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::GraphAnalysisResult' 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/builder.cc:214:3: note: in expansion of macro 'DCHECK_EQ' 214 | DCHECK_EQ(bdt_result, kAnalysisSuccess); | ^~~~~~~~~ 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/builder.cc:214:3: note: in expansion of macro 'DCHECK_EQ' 214 | DCHECK_EQ(bdt_result, kAnalysisSuccess); | ^~~~~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::GraphAnalysisResult' 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/builder.cc:221:3: note: in expansion of macro 'DCHECK_EQ' 221 | DCHECK_EQ(build_ssa_result, kAnalysisSuccess); | ^~~~~~~~~ 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/builder.cc:221:3: note: in expansion of macro 'DCHECK_EQ' 221 | DCHECK_EQ(build_ssa_result, kAnalysisSuccess); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/instruction_simplifier.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:67: warning: passing 'art::GraphAnalysisResult' 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/builder.cc:221:3: note: in expansion of macro 'DCHECK_EQ' 221 | DCHECK_EQ(build_ssa_result, kAnalysisSuccess); | ^~~~~~~~~ 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/builder.cc:221:3: note: in expansion of macro 'DCHECK_EQ' 221 | DCHECK_EQ(build_ssa_result, kAnalysisSuccess); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/thread_arm64.cc art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/monitor_pool.cc art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'virtual void art::arm::ReadBarrierForHeapReferenceSlowPathARMVIXL::EmitNativeCode(art::CodeGenerator*)': art/compiler/optimizing/code_generator_arm_vixl.cc:817:38: warning: passing 'art::arm::ScaleFactor' chooses 'int32_t' {aka 'int'} over 'uint32_t' {aka 'unsigned int'} [-Wsign-promo] 817 | __ Lsl(index_reg, index_reg, TIMES_4); | ^~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:817:38: warning: in call to 'vixl::aarch32::Operand::Operand(int32_t)' [-Wsign-promo] In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/method_reference.h:22, from art/compiler/linker/linker_patch.h:26, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/linker/linker_patch.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In function 'void art::arm::GenerateLongDataProc(art::HDataProcWithShifterOp*, CodeGeneratorARMVIXL*)': libbase/include/android-base/logging.h:266:35: warning: passing 'vixl::aarch32::ShiftType' 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_arm_vixl.cc:1159:7: note: in expansion of macro 'DCHECK_EQ' 1159 | DCHECK_EQ(shift, ShiftType::LSR); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1159:7: note: in expansion of macro 'DCHECK_EQ' 1159 | DCHECK_EQ(shift, ShiftType::LSR); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'vixl::aarch32::ShiftType' 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_arm_vixl.cc:1159:7: note: in expansion of macro 'DCHECK_EQ' 1159 | DCHECK_EQ(shift, ShiftType::LSR); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1159:7: note: in expansion of macro 'DCHECK_EQ' 1159 | DCHECK_EQ(shift, ShiftType::LSR); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/code_generator_vector_arm64.cc:20: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/compiler/compiler.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In function 'std::pair art::arm::GenerateLongTestConstant(art::HCondition*, bool, CodeGeneratorARMVIXL*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1396:9: note: in expansion of macro 'DCHECK_EQ' 1396 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1396:9: note: in expansion of macro 'DCHECK_EQ' 1396 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1396:9: note: in expansion of macro 'DCHECK_EQ' 1396 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1396:9: note: in expansion of macro 'DCHECK_EQ' 1396 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1400:9: note: in expansion of macro 'DCHECK_EQ' 1400 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1400:9: note: in expansion of macro 'DCHECK_EQ' 1400 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1400:9: note: in expansion of macro 'DCHECK_EQ' 1400 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1400:9: note: in expansion of macro 'DCHECK_EQ' 1400 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1401:9: note: in expansion of macro 'DCHECK_EQ' 1401 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1401:9: note: in expansion of macro 'DCHECK_EQ' 1401 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1401:9: note: in expansion of macro 'DCHECK_EQ' 1401 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1401:9: note: in expansion of macro 'DCHECK_EQ' 1401 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In function 'std::pair art::arm::GenerateLongTest(art::HCondition*, bool, CodeGeneratorARMVIXL*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1465:9: note: in expansion of macro 'DCHECK_EQ' 1465 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1465:9: note: in expansion of macro 'DCHECK_EQ' 1465 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1465:9: note: in expansion of macro 'DCHECK_EQ' 1465 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1465:9: note: in expansion of macro 'DCHECK_EQ' 1465 | DCHECK_EQ(opposite, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1469:9: note: in expansion of macro 'DCHECK_EQ' 1469 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1469:9: note: in expansion of macro 'DCHECK_EQ' 1469 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1469:9: note: in expansion of macro 'DCHECK_EQ' 1469 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1469:9: note: in expansion of macro 'DCHECK_EQ' 1469 | DCHECK_EQ(cond, kCondGT); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/locations.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1470:9: note: in expansion of macro 'DCHECK_EQ' 1470 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1470:9: note: in expansion of macro 'DCHECK_EQ' 1470 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::IfCondition' 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_arm_vixl.cc:1470:9: note: in expansion of macro 'DCHECK_EQ' 1470 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:1470:9: note: in expansion of macro 'DCHECK_EQ' 1470 | DCHECK_EQ(opposite, kCondLE); | ^~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/fault_handler_arm64.cc art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/compiler/utils/jni_macro_assembler.h:24, from art/compiler/utils/jni_macro_assembler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/compiler/optimizing/optimizing_compiler_stats.h:27, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/optimizing_compiler_stats.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/sharpening.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In function 'void art::arm::GenerateEqualLong(art::HCondition*, CodeGeneratorARMVIXL*)': art/compiler/optimizing/code_generator_arm_vixl.cc:1589:59: warning: passing 'art::IfCondition' chooses 'int' over 'unsigned int' [-Wsign-promo] 1589 | DCHECK(condition == kCondEQ || condition == kCondNE) << condition; | ^~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:1589:59: 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/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/code_generator.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/object_array-inl.h:29, from art/compiler/optimizing/intrinsics_arm64.cc:28: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check_info.h:222: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/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/mterp/mterp.cc:25: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/monitor_linux.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/runtime_linux.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'void art::arm::CodeGeneratorARMVIXL::GenerateConditionWithZero(art::IfCondition, vixl::aarch32::Register, vixl::aarch32::Register, vixl::aarch32::Register)': art/compiler/optimizing/code_generator_arm_vixl.cc:2895:48: warning: passing 'art::IfCondition' chooses 'int' over 'unsigned int' [-Wsign-promo] 2895 | LOG(FATAL) << "Unexpected condition " << condition; | ^~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:2895:48: 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/thread_linux.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/compiler/optimizing/nodes.h:37: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/compiler/optimizing/builder.h:25, from art/compiler/optimizing/optimizing_compiler.cc:34: art/compiler/optimizing/nodes.h: At global scope: art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/mips/instruction_set_features_mips.h:22, from art/compiler/utils/mips/assembler_mips.h:24, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips/assembler_mips.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/mips64/instruction_set_features_mips64.h:20, from art/compiler/utils/mips64/assembler_mips64.h:25, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/mips64/assembler_mips64.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/compiler/optimizing/intrinsic_objects.cc:24: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/aot_class_linker.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/compiler/optimizing/nodes.h:41: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/art_field.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'void art::arm::InstructionCodeGeneratorARMVIXL::GenerateMinMaxFloat(art::HInstruction*, bool)': art/compiler/optimizing/code_generator_arm_vixl.cc:4453:28: warning: passing 'uint16_t' {aka 'short unsigned int'} chooses 'int32_t' {aka 'int'} over 'uint32_t' {aka 'unsigned int'} [-Wsign-promo] 4453 | __ Movt(temp1, High16Bits(kNanFloat)); // 0x7FC0xxxx is a NaN. | ~~~~~~~~~~^~~~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:4453:28: warning: in call to 'vixl::aarch32::Operand::Operand(int32_t)' [-Wsign-promo] host C++: libart <= art/runtime/art_method.cc In file included from art/libartbase/base/scoped_arena_allocator.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/compiler/optimizing/ssa_builder.cc:24: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/compiler/optimizing/reference_type_propagation.h:22: art/compiler/optimizing/nodes.h: At global scope: art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/code_generator.h:22: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/context.h:23, from art/runtime/arch/arm64/context_arm64.h:22, from art/runtime/arch/arm64/context_arm64.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/backtrace_helper.cc art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/thread.h:28, from art/runtime/arch/arm64/thread_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/barrier.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/base/locks.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/base/mem_map_arena_pool.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/graph_visualizer.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/compiler/optimizing/reference_type_propagation.h:21, from art/compiler/optimizing/graph_visualizer.cc:36: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/monitor.h:29, from art/runtime/monitor_pool.h:20, from art/runtime/monitor_pool.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'virtual void art::arm::InstructionCodeGeneratorARMVIXL::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_arm_vixl.cc:7011:7: note: in expansion of macro 'DCHECK_EQ' 7011 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:7011:7: note: in expansion of macro 'DCHECK_EQ' 7011 | 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_arm_vixl.cc:7011:7: note: in expansion of macro 'DCHECK_EQ' 7011 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:7011:7: note: in expansion of macro 'DCHECK_EQ' 7011 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/entrypoints/entrypoint_utils.h:24, from art/runtime/arch/arm64/entrypoints_init_arm64.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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_arm_vixl.cc:7034:7: note: in expansion of macro 'DCHECK_EQ' 7034 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:7034:7: note: in expansion of macro 'DCHECK_EQ' 7034 | 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_arm_vixl.cc:7034:7: note: in expansion of macro 'DCHECK_EQ' 7034 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ 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/code_generator_arm_vixl.cc:7034:7: note: in expansion of macro 'DCHECK_EQ' 7034 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/monitor.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:28, from art/runtime/thread-current-inl.h:20, from art/runtime/arch/arm64/context_arm64.cc:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/compiler/optimizing/stack_map_stream.h:29: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/compiler/optimizing/stack_map_stream.h:27: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/entrypoints/entrypoint_utils.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/base/quasi_atomic.h:101, from art/runtime/interpreter/mterp/mterp.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/arch/arm64/entrypoints_init_arm64.cc:30: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/arch/arm64/entrypoints_init_arm64.cc:55:28: warning: redundant redeclaration of 'art::mirror::Object* art::art_quick_read_barrier_mark_reg12(mirror::Object*)' in same scope [-Wredundant-decls] 55 | extern "C" mirror::Object* art_quick_read_barrier_mark_reg12(mirror::Object*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/arch/arm64/entrypoints_init_arm64.cc:54:28: note: previous declaration of 'art::mirror::Object* art::art_quick_read_barrier_mark_reg12(mirror::Object*)' 54 | extern "C" mirror::Object* art_quick_read_barrier_mark_reg12(mirror::Object*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/arch/arm64/entrypoints_init_arm64.cc:66:28: warning: redundant redeclaration of 'art::mirror::Object* art::art_quick_read_barrier_mark_reg22(mirror::Object*)' in same scope [-Wredundant-decls] 66 | extern "C" mirror::Object* art_quick_read_barrier_mark_reg22(mirror::Object*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/arch/arm64/entrypoints_init_arm64.cc:65:28: note: previous declaration of 'art::mirror::Object* art::art_quick_read_barrier_mark_reg22(mirror::Object*)' 65 | extern "C" mirror::Object* art_quick_read_barrier_mark_reg22(mirror::Object*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/fault_handler.h:26, from art/runtime/arch/arm64/fault_handler_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/base/mutex.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/scheduler_arm.cc:23: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/base/quasi_atomic.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/compiler/optimizing/code_generator_arm_vixl.cc: In function 'void art::arm::EmitGrayCheckAndFastPath(ArmVIXLAssembler&, vixl::aarch32::Register, vixl::aarch32::MemOperand&, vixl::aarch32::Label*, int32_t, vixl::aarch32::Label*)': art/compiler/optimizing/code_generator_arm_vixl.cc:9319:60: warning: passing 'art::LockWord::SizeShiftsAndMasks' chooses 'uint32_t' {aka 'unsigned int'} over 'int32_t' {aka 'int'} [-Wsign-promo] 9319 | __ Tst(ip, Operand(LockWord::kReadBarrierStateMaskShifted)); | ^ art/compiler/optimizing/code_generator_arm_vixl.cc:9319:60: warning: in call to 'vixl::aarch32::Operand::Operand(uint32_t)' [-Wsign-promo] host C++: libart <= art/runtime/base/timing_logger.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/debugger.h:31, from art/runtime/interpreter/mterp/mterp.cc:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/compiler/optimizing/code_generator_arm_vixl.cc: In member function 'void art::arm::CodeGeneratorARMVIXL::CompileBakerReadBarrierThunk(art::arm::ArmVIXLAssembler&, uint32_t, std::string*)': art/compiler/optimizing/code_generator_arm_vixl.cc:9447:28: warning: passing 'art::LockWord::SizeShiftsAndMasks' chooses 'uint32_t' {aka 'unsigned int'} over 'int32_t' {aka 'int'} [-Wsign-promo] 9447 | __ Tst(ip, LockWord::kMarkBitStateMaskShifted); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:9447:28: warning: in call to 'vixl::aarch32::Operand::Operand(uint32_t)' [-Wsign-promo] art/compiler/optimizing/code_generator_arm_vixl.cc:9471:38: warning: passing 'art::LockWord::SizeShiftsAndMasks' chooses 'uint32_t' {aka 'unsigned int'} over 'int32_t' {aka 'int'} [-Wsign-promo] 9471 | __ Lsl(root_reg, ip, LockWord::kForwardingAddressShift); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator_arm_vixl.cc:9471:38: warning: in call to 'vixl::aarch32::Operand::Operand(uint32_t)' [-Wsign-promo] host C++: libart <= art/runtime/cha.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/jit/jit.h:20, from art/runtime/art_method.cc:38: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/class_linker.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/class_loader_context.cc In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/ssa_liveness_analysis.cc:20: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/code_generator.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/arch/arm64/fault_handler_arm64.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/object_array-inl.h:29, from art/compiler/optimizing/intrinsics_arm_vixl.cc:26: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/compiler/optimizing/nodes.h:34: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/class_root.cc In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/runtime.h:30, from art/runtime/runtime_linux.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/class_table.cc In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/runtime.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/monitor.h:29, from art/runtime/monitor_linux.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/arch/arm64/fault_handler_arm64.cc:29: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/monitor.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/nodes.h:2690:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2690 | HExpression(HInstruction::InstructionKind kind, SideEffects side_effects, uint32_t dex_pc) | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2690:32: note: remove the '< >' art/compiler/optimizing/nodes.h:2692:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 2692 | HExpression(HInstruction::InstructionKind kind, | ^~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:2692:32: note: remove the '< >' art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2705:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2705 | DEFAULT_COPY_CONSTRUCTOR(Expression); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/nodes.h:1579:19: note: remove the '< >' 1579 | explicit H##type(const H##type& other) = default; | ^ art/compiler/optimizing/nodes.h:2727:3: note: in expansion of macro 'DEFAULT_COPY_CONSTRUCTOR' 2727 | DEFAULT_COPY_CONSTRUCTOR(Expression<0>); | ^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/timing_logger.cc:23: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/common_throws.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/barrier.h:32, from art/runtime/barrier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/compiler_filter.cc In function 'size_t art::{anonymous}::CountForwardedConstructorArguments(const art::CodeItemDataAccessor*, const art::Instruction*, uint16_t)', inlined from 'bool art::{anonymous}::DoAnalyseConstructor(const art::CodeItemDataAccessor*, art::ArtMethod*, ConstructorIPutData (&)[3])' at art/compiler/dex/inline_method_analyser.cc:322:60: art/compiler/dex/inline_method_analyser.cc:175:26: warning: 'args[0]' may be used uninitialized [-Wmaybe-uninitialized] 175 | args[forwarded] == this_vreg + forwarded && | ^~~~~~~~~ art/compiler/dex/inline_method_analyser.cc: In function 'bool art::{anonymous}::DoAnalyseConstructor(const art::CodeItemDataAccessor*, art::ArtMethod*, ConstructorIPutData (&)[3])': art/compiler/dex/inline_method_analyser.cc:169:12: note: 'args[0]' was declared here 169 | uint32_t args[Instruction::kMaxVarArgRegs]; | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/thread.h:28, from art/runtime/thread_linux.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/intrinsics.h:20, from art/compiler/optimizing/instruction_simplifier.cc:24: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/jit/jit.h:20, from art/runtime/cha.cc:22: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/compiler/optimizing/code_generator.cc:56: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/debug_print.cc art/compiler/trampolines/trampoline_compiler.cc: In function 'std::unique_ptr > art::arm::CreateTrampoline(art::ArenaAllocator*, art::EntryPointCallingConvention, art::ThreadOffset32)': art/compiler/trampolines/trampoline_compiler.cc:91:19: warning: redundant move in return statement [-Wredundant-move] 91 | return std::move(entry_stub); | ~~~~~~~~~^~~~~~~~~~~~ art/compiler/trampolines/trampoline_compiler.cc:91:19: note: remove 'std::move' call art/compiler/trampolines/trampoline_compiler.cc: In function 'std::unique_ptr > art::arm64::CreateTrampoline(art::ArenaAllocator*, art::EntryPointCallingConvention, art::ThreadOffset64)': art/compiler/trampolines/trampoline_compiler.cc:133:19: warning: redundant move in return statement [-Wredundant-move] 133 | return std::move(entry_stub); | ~~~~~~~~~^~~~~~~~~~~~ art/compiler/trampolines/trampoline_compiler.cc:133:19: note: remove 'std::move' call cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/thread.h:28, from art/runtime/thread-inl.h:20, from art/runtime/backtrace_helper.cc:27: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/art_field.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/nodes.cc:27: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/class_linker.cc:88: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/debugger.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/aot_class_linker.h:20, from art/runtime/aot_class_linker.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/barrier.cc:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/monitor_pool.cc:20: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/optimizing_compiler.cc:36: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/runtime/base/mem_map_arena_pool.h:22, from art/runtime/base/mem_map_arena_pool.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/base/quasi_atomic.h:101, from art/runtime/base/quasi_atomic.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/mutex.h:31, from art/runtime/base/quasi_atomic.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/dex/dex_file_annotations.cc host C++: libart <= art/runtime/dex_register_location.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/dex_to_dex_decompiler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/elf_file.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/sharpening.cc:23: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/class_loader_context.h:23, from art/runtime/class_loader_context.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/cha.h:24, from art/runtime/cha.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/cha.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/base/quasi_atomic.cc:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/optimizing/nodes.cc:29: art/compiler/optimizing/intrinsics.h: In member function 'void art::IntrinsicOptimizations::SetBit(uint32_t)': art/compiler/optimizing/intrinsics.h:177:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 177 | *(const_cast(value_)) |= (1 << bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/loop_optimization.cc:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/exec_utils.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libelffile/elf/elf_utils.h:22, from art/runtime/elf_file.h:25, from art/runtime/elf_file.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 | ^~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/compiler/optimizing/reference_type_propagation.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/art_field.h:23, from art/runtime/mirror/class-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/monitor_pool.h:26: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/class_linker-inl.h:22, from art/runtime/class_root.h:20, from art/runtime/class_root.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/aot_class_linker.cc:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/fault_handler.cc In file included from art/libartbase/base/macros.h:24, from art/runtime/compiler_filter.h:24, from art/runtime/compiler_filter.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/compiler/optimizing/code_generator.h:37, from art/compiler/optimizing/instruction_builder.cc:25: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25, from art/libartbase/base/arena_containers.h:27, from art/compiler/optimizing/code_generator.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/compiler/optimizing/intrinsics.cc:19: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/compiler/optimizing/code_generator_arm64.cc:37: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/gc/allocation_record.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/compiler/optimizing/optimization.cc: In function 'const char* art::OptimizationPassName(OptimizationPass)': art/compiler/optimizing/optimization.cc:135:1: warning: control reaches end of non-void function [-Wreturn-type] 135 | } | ^ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/elf_file.h:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/class_loader_context.h:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/runtime/class_loader_context.h:26: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/art_method.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/base/mutex.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/gc/allocator/dlmalloc.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/gc/allocator/rosalloc.cc host C++: libart <= art/runtime/gc/accounting/bitmap.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/gc/accounting/card_table.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/gc/accounting/heap_bitmap.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/gc/accounting/mod_union_table.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/class_linker.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/base/locks.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/entrypoints/entrypoint_utils-inl.h:22, from art/runtime/interpreter/mterp/mterp.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/base/timing_logger.h:21, from art/runtime/base/timing_logger.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/gc/accounting/remembered_set.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/debug_print.h:20, from art/runtime/debug_print.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/object.h:25, from art/runtime/debug_print.h:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:27: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/gc/allocator/dlmalloc.cc:17: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/gc/accounting/space_bitmap.cc art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/aot_class_linker.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/fault_handler.h:26, from art/runtime/fault_handler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/class_table.h:24, from art/runtime/class_table-inl.h:20, from art/runtime/class_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/runtime/base/mutex.cc:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/debugger.h:31, from art/runtime/debugger.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/object_array-inl.h:29, from art/compiler/optimizing/code_generator.cc:58: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/fault_handler.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_table.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/runtime/dex/dex_file_annotations.h:20, from art/runtime/dex/dex_file_annotations.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/memory_region.h:29, from art/runtime/dex_register_location.h:24, from art/runtime/dex_register_location.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/gc/collector/concurrent_copying.cc In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/common_throws.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/dex/dex_file_annotations.h:21: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/gc/collector/garbage_collector.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/runtime/dex_to_dex_decompiler.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/runtime/dex_to_dex_decompiler.cc:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/class_linker.cc:36: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/common_throws.cc:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/arena_object.h:20: art/compiler/optimizing/superblock_cloner.cc: In member function 'void art::SuperblockCloner::CleanUpControlFlow()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::GraphAnalysisResult' 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/superblock_cloner.cc:380:3: note: in expansion of macro 'DCHECK_EQ' 380 | DCHECK_EQ(result, kAnalysisSuccess); | ^~~~~~~~~ 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/superblock_cloner.cc:380:3: note: in expansion of macro 'DCHECK_EQ' 380 | DCHECK_EQ(result, kAnalysisSuccess); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::GraphAnalysisResult' 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/superblock_cloner.cc:380:3: note: in expansion of macro 'DCHECK_EQ' 380 | DCHECK_EQ(result, kAnalysisSuccess); | ^~~~~~~~~ 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/superblock_cloner.cc:380:3: note: in expansion of macro 'DCHECK_EQ' 380 | DCHECK_EQ(result, kAnalysisSuccess); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/collector/immune_region.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/cha.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/gc/collector/immune_spaces.cc In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/gc/collector/mark_sweep.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/bytecode_utils.h:21, from art/runtime/dex_to_dex_decompiler.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/compiler/optimizing/stack_map_stream.cc:21: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/collector/partial_mark_sweep.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/runtime/base/locks.cc:30: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/runtime.h:30, from art/runtime/exec_utils.cc:28: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In constructor 'art::ParseStringList::ParseStringList(std::vector >&&) [with char Separator = ',']', inlined from 'static art::ParseStringList art::ParseStringList::Split(const std::string&) [with char Separator = ',']' at art/cmdline/cmdline_types.h:386:54, inlined from 'art::CmdlineType >::Result art::CmdlineType >::Parse(const std::string&) [with char Separator = ',']' at art/cmdline/cmdline_types.h:402:61, inlined from 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<','>]' at art/cmdline/detail/cmdline_parse_argument_detail.h:449:30: art/cmdline/cmdline_types.h:365:63: warning: 'SR.10594' may be used uninitialized [-Wmaybe-uninitialized] 365 | explicit ParseStringList(std::vector&& list) : list_(list) {} | ^~~~~~~~~~~ art/cmdline/cmdline_types.h: In member function 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<','>]': art/cmdline/cmdline_types.h:402:61: note: 'SR.10594' was declared here 402 | return Result::Success(ParseStringList::Split(args)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from art/runtime/gc/collector/garbage_collector.cc:26: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/compiler/optimizing/code_generator_arm64.cc: In member function 'virtual void art::arm64::InstructionCodeGeneratorARM64::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_arm64.cc:4641:7: note: in expansion of macro 'DCHECK_EQ' 4641 | 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_arm64.cc:4641:7: note: in expansion of macro 'DCHECK_EQ' 4641 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ 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_arm64.cc:4641:7: note: in expansion of macro 'DCHECK_EQ' 4641 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/class_table-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ 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_arm64.cc:4641:7: note: in expansion of macro 'DCHECK_EQ' 4641 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ 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_arm64.cc:4686:7: note: in expansion of macro 'DCHECK_EQ' 4686 | 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_arm64.cc:4686:7: note: in expansion of macro 'DCHECK_EQ' 4686 | 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_arm64.cc:4686:7: note: in expansion of macro 'DCHECK_EQ' 4686 | 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_arm64.cc:4686:7: note: in expansion of macro 'DCHECK_EQ' 4686 | DCHECK_EQ(read_barrier_option, kWithoutReadBarrier); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/runtime.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/debugger.cc:29: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ host C++: libart <= art/runtime/gc/collector/semi_space.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/gc/collector/sticky_mark_sweep.cc In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/code_generator_arm_vixl.cc:35: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/class_loader_utils.h:20, from art/runtime/debug_print.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/class_loader_context.cc:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/collector/concurrent_copying.cc:23: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.cc:40:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 40 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.cc:40:32: note: did you mean '-Wno-pointer-arith'? In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/accounting/mod_union_table.h:20, from art/runtime/gc/accounting/mod_union_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/intrinsics_arm64.cc:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/gc/collector/immune_region.h:22, from art/runtime/gc/collector/immune_region.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/gc/gc_cause.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/gc/allocation_record.h:23, from art/runtime/gc/allocation_record.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/gc/heap.cc In file included from art/runtime/gc_root.h:22, from art/runtime/gc/allocation_record.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/base/timing_logger.cc:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc/accounting/mod_union_table.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/bitmap.h:26, from art/runtime/gc/accounting/bitmap-inl.h:20, from art/runtime/gc/accounting/bitmap.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/accounting/heap_bitmap.h:22, from art/runtime/gc/accounting/heap_bitmap.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/dex/dex_file_annotations.cc:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/card_table.h:22, from art/runtime/gc/accounting/card_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/allocator/rosalloc.h:31, from art/runtime/gc/allocator/rosalloc-inl.h:20, from art/runtime/gc/allocator/rosalloc.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/utils.h:32, from art/runtime/gc/allocator/dlmalloc.cc:63: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/gc/collector/sticky_mark_sweep.h:20, from art/runtime/gc/collector/sticky_mark_sweep.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/gc/allocation_record.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/gc/allocator/rosalloc.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/compiler/optimizing/optimization.cc: In function 'art::ArenaVector art::ConstructOptimizations(const OptimizationDef*, size_t, ArenaAllocator*, HGraph*, OptimizingCompilerStats*, CodeGenerator*, const DexCompilationUnit&, VariableSizedHandleScope*)': art/compiler/optimizing/optimization.cc:266:49: warning: 'accessor.art::CodeItemDataAccessor::registers_size_' may be used uninitialized [-Wmaybe-uninitialized] 266 | pass_name); | ^ art/compiler/optimizing/optimization.cc:253:30: note: 'accessor.art::CodeItemDataAccessor::registers_size_' was declared here 253 | CodeItemDataAccessor accessor(*dex_compilation_unit.GetDexFile(), | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/accounting/remembered_set.h:20, from art/runtime/gc/accounting/remembered_set.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/collector/mark_sweep.h:22, from art/runtime/gc/collector/mark_sweep.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/accounting/mod_union_table.cc:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/heap.cc:35: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/gc/collector/garbage_collector.h:24, from art/runtime/gc/collector/concurrent_copying.h:20, from art/runtime/gc/collector/concurrent_copying.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/gc/collector/garbage_collector.h:24, from art/runtime/gc/collector/garbage_collector.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc/space/space.h:23, from art/runtime/gc/space/space-inl.h:20, from art/runtime/gc/collector/immune_region.cc:19: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/base/mutex.cc:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/space_bitmap.h:26, from art/runtime/gc/accounting/space_bitmap-inl.h:20, from art/runtime/gc/accounting/space_bitmap.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/image.h:24, from art/runtime/gc/space/image_space.h:21, from art/runtime/gc/space/space-inl.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26, from art/runtime/gc/collector/mark_sweep-inl.h:20, from art/runtime/gc/accounting/remembered_set.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/gc/reference_processor.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/gc/accounting/space_bitmap.cc:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/collector/semi_space.h:22, from art/runtime/gc/collector/semi_space-inl.h:20, from art/runtime/gc/collector/semi_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/collector/immune_spaces.h:20, from art/runtime/gc/collector/immune_spaces.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/accounting/card_table.cc:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/collector/mark_sweep.h:22, from art/runtime/gc/collector/partial_mark_sweep.h:20, from art/runtime/gc/collector/partial_mark_sweep.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/gc/collector/mark_sweep.cc:30: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/semi_space.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/compiler/optimizing/code_generator.cc: In member function 'void art::CodeGenerator::RecordPcInfo(art::HInstruction*, uint32_t, art::SlowPathCode*, bool)': art/compiler/optimizing/code_generator.cc:1095:12: warning: variable 'outer_environment_size' set but not used [-Wunused-but-set-variable] 1095 | uint32_t outer_environment_size = 0u; | ^~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/gc/gc_cause.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/space/space-inl.h:25: art/runtime/interpreter/interpreter_cache.h: At global scope: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/gc/reference_queue.cc In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/base/locks.cc:31: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/collector/mark_sweep-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/gc/scoped_gc_critical_section.cc host C++: libart <= art/runtime/gc/space/bump_pointer_space.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/image.h:24, from art/runtime/gc/space/image_space.h:21, from art/runtime/gc/space/space-inl.h:24, from art/runtime/gc/collector/immune_spaces.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/gc/space/dlmalloc_space.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/gc/space/image_space.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc/collector/mark_sweep.h:22, from art/runtime/gc/collector/partial_mark_sweep.h:20, from art/runtime/gc/collector/sticky_mark_sweep.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/gc/collector/semi_space-inl.h:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/gc/collector/concurrent_copying.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In constructor 'art::ParseStringList::ParseStringList(std::vector >&&) [with char Separator = ',']', inlined from 'static art::ParseStringList art::ParseStringList::Split(const std::string&) [with char Separator = ',']' at art/cmdline/cmdline_types.h:386:54, inlined from 'art::CmdlineType >::Result art::CmdlineType >::Parse(const std::string&) [with char Separator = ',']' at art/cmdline/cmdline_types.h:402:61, inlined from 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<','>]' at art/cmdline/detail/cmdline_parse_argument_detail.h:449:30: art/cmdline/cmdline_types.h:365:63: warning: 'SR.6666' may be used uninitialized [-Wmaybe-uninitialized] 365 | explicit ParseStringList(std::vector&& list) : list_(list) {} | ^~~~~~~~~~~ art/cmdline/cmdline_types.h: In member function 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<','>]': art/cmdline/cmdline_types.h:402:61: note: 'SR.6666' was declared here 402 | return Result::Success(ParseStringList::Split(args)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/mark_sweep.h:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/intrinsics_arm_vixl.cc:25: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/gc/space/large_object_space.cc In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/gc/space/malloc_space.cc In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/gc/collector/garbage_collector.cc:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/space/region_space.cc In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/space/space-inl.h:25: art/runtime/interpreter/interpreter_cache.h: At global scope: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/gc/space/rosalloc_space.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/runtime/debugger.h:30: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/libartbase/base/dchecked_vector.h:24, from art/runtime/class_loader_context.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/collector/partial_mark_sweep.cc:19: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/collector/sticky_mark_sweep.cc:21: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/gc/space/dlmalloc_space.cc:25: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/gc/space/space.cc In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/allocator/rosalloc.cc:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/space/zygote_space.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/task_processor.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/class_table-inl.h:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/gc/verification.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/hidden_api.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/quasi_atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/heap.h:28, from art/runtime/gc/heap.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/hprof/hprof.cc In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, from art/runtime/gc/space/malloc_space.h:20, from art/runtime/gc/space/malloc_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/timing_logger.cc:29: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/image.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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/runtime.h:38, from art/runtime/oat_file.h:38, from art/runtime/class_loader_context.h:28: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc/accounting/card_table.cc:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/collector/sticky_mark_sweep.cc:24: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/runtime/gc/space/malloc_space.cc:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/collector/mark_sweep-inl.h:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, 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:42: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/allocator/rosalloc.h:31, 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: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/reference_queue.h:24, from art/runtime/gc/reference_queue.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/scoped_gc_critical_section.h:20, from art/runtime/gc/scoped_gc_critical_section.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, from art/runtime/gc/space/bump_pointer_space.h:20, from art/runtime/gc/space/bump_pointer_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/gc/allocator/rosalloc.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/reference_processor.h:20, from art/runtime/gc/reference_processor.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/accounting/mod_union_table.cc:29: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/index_bss_mapping.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, 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, from art/runtime/gc/space/dlmalloc_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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:34, from art/runtime/debug_print.cc:21: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/oat_file.h:38, from art/runtime/gc/collector/immune_spaces.cc:25: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/mem_map.h:27, from art/runtime/gc/space/zygote_space.h:20, from art/runtime/gc/space/zygote_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/gc/reference_processor.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/class.h:31, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/space/bump_pointer_space.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/space/large_object_space.h:20, from art/runtime/gc/space/large_object_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/indirect_reference_table.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/code_generator_arm64.cc:36: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/gc/verification.h:20, from art/runtime/gc/verification.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/instrumentation.cc art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/space_bitmap.h:26, from art/runtime/gc/space/image_space.h:20, from art/runtime/gc/space/image_space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/gc/collector/garbage_collector.h:28, from art/runtime/gc/collector/concurrent_copying.h:20, from art/runtime/gc/reference_queue.cc:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/gc/verification.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/object.h:25, from art/runtime/image.h:24, from art/runtime/gc/space/image_space.h:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/scoped_gc_critical_section.cc:20: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, from art/runtime/gc/space/space.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/gc/space/dlmalloc_space-inl.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/intern_table.cc In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/interpreter/interpreter.cc In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/reference_queue.cc:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/image.h:24, from art/runtime/image.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/interpreter/interpreter_cache.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, from art/runtime/gc/space/bump_pointer_space.h:20, from art/runtime/gc/space/bump_pointer_space-inl.h:20, from art/runtime/gc/space/region_space.cc:18: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/gc/task_processor.h:23, from art/runtime/gc/task_processor.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc/accounting/space_bitmap.h:26, from art/runtime/gc/space/zygote_space.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/interpreter/interpreter_common.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/hidden_api.h:20, from art/runtime/hidden_api.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/space/malloc_space.cc:32: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/debugger.cc:56: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/runtime/class_linker.h:37: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/dex_cache.h:24, from art/runtime/dex/dex_file_annotations.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/gc/space/space.cc:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/runtime/class_loader_context.cc:35: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/jni_env_ext.h:24, from art/runtime/jni/jni_env_ext-inl.h:20, from art/runtime/scoped_thread_state_change-inl.h:26, from art/runtime/gc/task_processor.cc:20: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/class.h:31, from art/runtime/mirror/class-inl.h:20, from art/runtime/gc/space/region_space.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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:22, from art/runtime/class_loader_context.h:27: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter.cc:25: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/gc/heap.cc:29: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/instrumentation.cc:38: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:27, from art/runtime/class_linker.cc:53: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc/collector/garbage_collector.cc:37: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/interpreter/interpreter_intrinsics.cc art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/runtime/gc/space/zygote_space.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/hprof/hprof.cc:41: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/gc/space/image_space.cc:29: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/allocator/rosalloc.h:29: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/image.cc:25: art/runtime/interpreter/interpreter_cache.h: At global scope: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/fault_handler.cc:30: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter.h:20, from art/runtime/interpreter/interpreter.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc/scoped_gc_critical_section.cc:21: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_common.cc:17: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/class_loader_context.cc: In function '_jclass* art::GetClassLoaderClass(ClassLoaderContext::ClassLoaderType)': art/runtime/class_loader_context.cc:691:49: warning: passing 'art::ClassLoaderContext::ClassLoaderType' chooses 'int' over 'unsigned int' [-Wsign-promo] 691 | LOG(FATAL) << "Invalid class loader type " << type; | ^~~~ art/runtime/class_loader_context.cc:691: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] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:23, from art/runtime/art_method.cc:48: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/class_loader_context.cc: In static member function 'static const char* art::ClassLoaderContext::GetClassLoaderTypeName(ClassLoaderType)': art/runtime/class_loader_context.cc:860:53: warning: passing 'art::ClassLoaderContext::ClassLoaderType' chooses 'int' over 'unsigned int' [-Wsign-promo] 860 | LOG(FATAL) << "Invalid class loader type " << type; | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/class_loader_context.cc:860: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/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/hidden_api.h:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/indirect_reference_table.h:29, from art/runtime/indirect_reference_table-inl.h:20, from art/runtime/indirect_reference_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/interpreter/interpreter.h:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/debugger.cc:73: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/compiler/optimizing/code_generator.cc:57: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/common_dex_operations.h:21, from art/runtime/interpreter/interpreter.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/instrumentation.h:25, from art/runtime/instrumentation.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/interpreter/interpreter_switch_impl0.cc In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/class_linker.cc:93: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/runtime/class_linker.h:37: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/interpreter/interpreter_switch_impl1.cc art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ 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:293: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] 293 | memset(res, 0, kPageSize); | ~~~~~~^~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/rosalloc.h:47:9: note: 'class art::gc::allocator::RosAlloc::FreePageRun' declared here 47 | class FreePageRun { | ^~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/indirect_reference_table-inl.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/interpreter/interpreter_switch_impl2.cc In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/gc/reference_queue.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc/space/space.cc:25: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_intrinsics.cc:21: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/instrumentation.h:27: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/interpreter/interpreter_switch_impl3.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/interpreter/interpreter_cache.h:24, from art/runtime/interpreter/interpreter_cache.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/interpreter/interpreter_cache.h: At global scope: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/intern_table.h:22, from art/runtime/intern_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/instrumentation.h:30: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/gc/allocator/rosalloc.cc: In member function 'void art::gc::allocator::RosAlloc::Run::ZeroHeaderAndSlotHeaders()': art/runtime/gc/allocator/rosalloc.cc:950: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] 950 | 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/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/class-refvisitor-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/collector/mark_sweep-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:28, from art/runtime/thread-inl.h:20, from art/runtime/interpreter/interpreter_cache.cc:18: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/intern_table.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/interpreter/lock_count_data.cc art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/common_dex_operations.h:29: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ 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, from art/runtime/class_linker.h:37: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/class-refvisitor-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/collector/mark_sweep-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc/space/zygote_space.cc:24: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/memory_tool_malloc_space-inl.h:24, from art/runtime/gc/space/rosalloc_space.cc:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/interpreter/shadow_frame.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_switch_impl-inl.h:30, from art/runtime/interpreter/interpreter_switch_impl0.cc:20: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/interpreter/interpreter_switch_impl-inl.h:974: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 974 | #pragma clang diagnostic push art/runtime/interpreter/interpreter_switch_impl-inl.h:975: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 975 | #pragma clang diagnostic ignored "-Wfloat-equal" art/runtime/interpreter/interpreter_switch_impl-inl.h:1039: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 1039 | #pragma clang diagnostic pop art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_switch_impl-inl.h:30, from art/runtime/interpreter/interpreter_switch_impl1.cc:20: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/jvalue.h:20, from art/runtime/interpreter/interpreter_intrinsics.h:20, from art/runtime/interpreter/interpreter_intrinsics.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/interpreter/interpreter_switch_impl-inl.h:974: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 974 | #pragma clang diagnostic push art/runtime/interpreter/interpreter_switch_impl-inl.h:975: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 975 | #pragma clang diagnostic ignored "-Wfloat-equal" art/runtime/interpreter/interpreter_switch_impl-inl.h:1039: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 1039 | #pragma clang diagnostic pop In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/instrumentation.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_switch_impl-inl.h:30, from art/runtime/interpreter/interpreter_switch_impl2.cc:20: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/interpreter/interpreter_switch_impl-inl.h:974: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 974 | #pragma clang diagnostic push art/runtime/interpreter/interpreter_switch_impl-inl.h:975: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 975 | #pragma clang diagnostic ignored "-Wfloat-equal" art/runtime/interpreter/interpreter_switch_impl-inl.h:1039: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 1039 | #pragma clang diagnostic pop art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/intern_table.cc:25: art/runtime/interpreter/interpreter_cache.h: At global scope: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/class-refvisitor-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, 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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/interpreter/unstarted_runtime.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/java_frame_root_info.cc In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/interpreter_switch_impl-inl.h:30, from art/runtime/interpreter/interpreter_switch_impl3.cc:20: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/memory_tool_malloc_space-inl.h:24, from art/runtime/gc/space/dlmalloc_space.cc:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/interpreter/interpreter_switch_impl-inl.h:974: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 974 | #pragma clang diagnostic push art/runtime/interpreter/interpreter_switch_impl-inl.h:975: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 975 | #pragma clang diagnostic ignored "-Wfloat-equal" art/runtime/interpreter/interpreter_switch_impl-inl.h:1039: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 1039 | #pragma clang diagnostic pop In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/class-refvisitor-inl.h:22, from art/runtime/mirror/object-refvisitor-inl.h:22, from art/runtime/gc/accounting/mod_union_table.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_event.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/gc/allocation_record.cc:25: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter.h:20, from art/runtime/interpreter/interpreter_common.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/gc/space/large_object_space.cc:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/interpreter/interpreter.h:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:2004:96: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'art::PointerSize' [-Wformat=] 2004 | *error_msg = StringPrintf("Application image pointer size does not match runtime: %zu vs %zu", | ~~^ | | | long unsigned int 2005 | static_cast(space->GetImageHeader().GetPointerSize()), 2006 | image_pointer_size_); | ~~~~~~~~~~~~~~~~~~~ | | | art::PointerSize In file included from art/runtime/gc/heap.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_expand_buf.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/dex/dex_file_annotations.cc:32: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter_switch_impl.h:20, from art/runtime/interpreter/interpreter_switch_impl-inl.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter_switch_impl.h:20, from art/runtime/interpreter/interpreter_switch_impl-inl.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/interpreter/unstarted_runtime.cc:45: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter_switch_impl.h:20, from art/runtime/interpreter/interpreter_switch_impl-inl.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter_switch_impl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/interpreter/interpreter_switch_impl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_handler.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter_switch_impl.h:20, from art/runtime/interpreter/interpreter_switch_impl-inl.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/interpreter/interpreter_switch_impl-inl.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/jdwp/jdwp_main.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/interpreter/interpreter_switch_impl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/shadow_frame.h:24, from art/runtime/interpreter/shadow_frame.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/interpreter/interpreter_switch_impl-inl.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/read_barrier.h:25, from art/runtime/interpreter/shadow_frame.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/lock_count_data.h:23, from art/runtime/interpreter/lock_count_data.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/interpreter/interpreter_switch_impl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/allocator/rosalloc.h:29: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/interpreter/interpreter_switch_impl-inl.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/indirect_reference_table.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/object-inl.h:20, from art/runtime/interpreter/lock_count_data.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_request.cc art/runtime/gc/collector/concurrent_copying.cc: In member function 'void art::gc::collector::ConcurrentCopying::PushOntoLocalMarkStack(art::mirror::Object*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::gc::collector::ConcurrentCopying::MarkStackMode' 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/gc/collector/concurrent_copying.cc:1210:3: note: in expansion of macro 'DCHECK_EQ' 1210 | DCHECK_EQ(mark_stack_mode_.load(std::memory_order_relaxed), kMarkStackModeThreadLocal); | ^~~~~~~~~ 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/gc/collector/concurrent_copying.cc:1210:3: note: in expansion of macro 'DCHECK_EQ' 1210 | DCHECK_EQ(mark_stack_mode_.load(std::memory_order_relaxed), kMarkStackModeThreadLocal); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::gc::collector::ConcurrentCopying::MarkStackMode' 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/gc/collector/concurrent_copying.cc:1210:3: note: in expansion of macro 'DCHECK_EQ' 1210 | DCHECK_EQ(mark_stack_mode_.load(std::memory_order_relaxed), kMarkStackModeThreadLocal); | ^~~~~~~~~ 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/gc/collector/concurrent_copying.cc:1210:3: note: in expansion of macro 'DCHECK_EQ' 1210 | DCHECK_EQ(mark_stack_mode_.load(std::memory_order_relaxed), kMarkStackModeThreadLocal); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/interpreter/interpreter_switch_impl-inl.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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/gc/allocation_listener.h:25, from art/runtime/gc/heap.cc:28: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/java_frame_root_info.h:22, from art/runtime/java_frame_root_info.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/java_frame_root_info.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/jdwp/jdwp_socket.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/interpreter/shadow_frame.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp.h:20, from art/runtime/jdwp/jdwp_event.h:22, from art/runtime/jdwp/jdwp_event.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/jdwp/object_registry.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/jit/debugger_interface.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/hprof/hprof.cc:38: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/jdwp/jdwp_event.cc:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/collector/concurrent_copying.cc: In member function 'void art::gc::collector::ConcurrentCopying::FillWithDummyObject(art::Thread*, art::mirror::Object*, size_t)': art/runtime/gc/collector/concurrent_copying.cc:3218:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 3218 | memset(dummy_obj, 0, byte_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/mirror/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/interpreter/interpreter.h:20, from art/runtime/interpreter/unstarted_runtime.h:20, from art/runtime/interpreter/unstarted_runtime.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:39: art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp.h:20, from art/runtime/jdwp/jdwp_expand_buf.cc:28: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/interpreter/interpreter.h:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/jit/jit.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ 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:300: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] 300 | memset(ptrs[i], 0xEF, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/java_frame_root_info.cc:19: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp_handler.cc:26: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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:139:41: warning: array subscript is outside array bounds of 'std::pair [0]' [-Warray-bounds=] 139 | recent_freed_objects_[recent_free_pos_] = std::make_pair(ptr, ptr->GetClass()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ art/runtime/gc/space/malloc_space.h:180:52: note: while referencing 'art::gc::space::MallocSpace::recent_freed_objects_' 180 | std::pair recent_freed_objects_[kRecentFreeCount]; | ^~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/space/malloc_space.cc:139:41: warning: array subscript is outside array bounds of 'std::pair [0]' [-Warray-bounds=] 139 | recent_freed_objects_[recent_free_pos_] = std::make_pair(ptr, ptr->GetClass()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ art/runtime/gc/space/malloc_space.h:180:52: note: while referencing 'art::gc::space::MallocSpace::recent_freed_objects_' 180 | std::pair recent_freed_objects_[kRecentFreeCount]; | ^~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/interpreter/unstarted_runtime.cc:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/jit/jit_code_cache.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/jit/profiling_info.cc In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_handler.cc:30: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/hidden_api.cc:21: 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:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp_main.cc:25: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot 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:185:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class art::mirror::Object' with no trivial copy-assignment [-Wclass-memaccess] 185 | memset(result, 0, num_bytes); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object-inl.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:270: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] 270 | memset(ptrs[i], 0xEF, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit.cc:17: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/jit/profile_saver.cc In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/profiling_info.cc:21: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/indirect_reference_table.cc:25: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart <= art/runtime/jni/check_jni.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_main.cc:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/jni/java_vm_ext.cc In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp.h:20, from art/runtime/jdwp/jdwp_request.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/jit/profiling_info.h:23, from art/runtime/jit/profiling_info.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/jit/debugger_interface.h:23, from art/runtime/jit/debugger_interface.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/jni/jni_env_ext.cc host C++: libart <= art/runtime/jni/jni_internal.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/logging.h:22, from art/runtime/jdwp/jdwp_socket.cc:31: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap.cc:63: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/jit/jit_code_cache.cc:27: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_priv.h:22, from art/runtime/jdwp/jdwp_socket.cc:32: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/debugger.h:31, from art/runtime/jdwp/jdwp_priv.h:22, from art/runtime/jdwp/jdwp_request.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/jit/profiling_info.h:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/jit/debugger_interface.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/jdwp/object_registry.h:27, from art/runtime/jdwp/object_registry.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/jit/profiling_info.cc:19: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/linear_alloc.cc art/runtime/class_linker.cc: In member function 'void art::ClassLinker::LinkInterfaceMethodsHelper::ClobberOldMethods(art::LengthPrefixedArray*, art::LengthPrefixedArray*)': art/runtime/class_linker.cc:7484:15: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class art::LengthPrefixedArray'; use assignment instead [-Wclass-memaccess] 7484 | memset(old_methods, 0xFEu, old_size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:26: art/libartbase/base/length_prefixed_array.h:31:7: note: 'class art::LengthPrefixedArray' declared here 31 | class LengthPrefixedArray { | ^~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/jdwp/object_registry.cc:19: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:33, from art/runtime/parsed_options.h:31, from art/runtime/jni/java_vm_ext.cc:46: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/jni/java_vm_ext.h:22, from art/runtime/jni/java_vm_ext.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:33, from art/runtime/parsed_options.h:31, from art/runtime/jni/jni_internal.cc:67: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/time_utils.h:26, from art/libartbase/base/histogram-inl.h:30: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/hidden_api.cc: In member function 'std::vector art::hiddenapi::detail::MemberSignature::GetSignatureParts() const': libbase/include/android-base/logging.h:266:35: warning: passing 'art::hiddenapi::detail::MemberSignature::MemberType' 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/hidden_api.cc:164:5: note: in expansion of macro 'DCHECK_EQ' 164 | DCHECK_EQ(type_, kMethod); | ^~~~~~~~~ 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/runtime/hidden_api.cc:164:5: note: in expansion of macro 'DCHECK_EQ' 164 | DCHECK_EQ(type_, kMethod); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::hiddenapi::detail::MemberSignature::MemberType' 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/hidden_api.cc:164:5: note: in expansion of macro 'DCHECK_EQ' 164 | DCHECK_EQ(type_, kMethod); | ^~~~~~~~~ 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/runtime/hidden_api.cc:164:5: note: in expansion of macro 'DCHECK_EQ' 164 | DCHECK_EQ(type_, kMethod); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/base/mutex.h:31, from art/runtime/jit/jit.h:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/jit/debugger_interface.cc:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/jdwp/jdwp_handler.cc:36: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/jit/jit.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/runtime/jni/java_vm_ext.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/runtime/jni/jni_internal.h:23, from art/runtime/jni/jni_internal.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/java_vm_ext.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/managed_stack.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/jit/debugger_interface.cc:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/jit/jit.cc:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_containers.h:27, from art/runtime/jit/jit_code_cache.h:27, from art/runtime/jit/jit_code_cache.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/method_handles.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/jni/java_vm_ext.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit_code_cache.h:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/mirror/array.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/jit/profile_saver.h:20, from art/runtime/jit/profile_saver.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/jit/debugger_interface.cc: In function 'void art::DeleteJITCodeEntryInternal(JITDescriptor&, void (*)(), JITCodeEntry*, bool)': art/runtime/jit/debugger_interface.cc:239:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct art::JITCodeEntry' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 239 | memset(entry, 0, sizeof(*entry)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/jit/debugger_interface.cc:95:10: note: 'struct art::JITCodeEntry' declared here 95 | struct JITCodeEntry { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/mirror/class.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/jni/jni_env_ext.h:22, from art/runtime/jni/jni_env_ext.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/jni/check_jni.cc:27: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/runtime/jit/profile_saver.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/jni_env_ext.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/runtime/linear_alloc.h:20, from art/runtime/linear_alloc.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/jit/jit_code_cache.cc:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/method_handles-inl.h:24, from art/runtime/method_handles.cc:17: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/jni/jni_internal.cc:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/runtime/linear_alloc.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/jdwp/jdwp_main.cc:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/mirror/class_ext.cc art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/runtime/class_linker.h:37, from art/runtime/common_dex_operations.h:25: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= art/runtime/mirror/dex_cache.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/mirror/emulated_stack_frame.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/mirror/executable.cc host C++: libart <= art/runtime/mirror/field.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/linear_alloc.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/mirror/method.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/managed_stack.h:26, from art/runtime/managed_stack-inl.h:20, from art/runtime/managed_stack.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/jni/jni_env_ext.cc:31: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/jdwp/object_registry.cc:24: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/gc_root.h:22, from art/runtime/read_barrier.h:25, from art/runtime/interpreter/shadow_frame.h:27, from art/runtime/managed_stack-inl.h:22: art/runtime/mirror/object_reference.h: At global scope: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_instruction.h:23, from art/runtime/method_handles.h:22, from art/runtime/method_handles-inl.h:20: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/mirror/method_handle_impl.cc In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/mirror/array.h:23, from art/runtime/mirror/array-inl.h:20, from art/runtime/mirror/array.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/mirror/method_handles_lookup.cc In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/method_handles.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/method_handles-inl.h:24, from art/runtime/mirror/emulated_stack_frame.cc:25: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/mirror/method_type.cc libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/interpreter/interpreter.cc: In function 'art::JValue art::interpreter::Execute(art::Thread*, const art::CodeItemDataAccessor&, art::ShadowFrame&, art::JValue, bool, 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:359:7: note: in expansion of macro 'DCHECK_EQ' 359 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ 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/runtime/interpreter/interpreter.cc:359:7: note: in expansion of macro 'DCHECK_EQ' 359 | 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:359:7: note: in expansion of macro 'DCHECK_EQ' 359 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ 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/runtime/interpreter/interpreter.cc:359:7: note: in expansion of macro 'DCHECK_EQ' 359 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ 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:387:7: note: in expansion of macro 'DCHECK_EQ' 387 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ 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/runtime/interpreter/interpreter.cc:387:7: note: in expansion of macro 'DCHECK_EQ' 387 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ 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:387:7: note: in expansion of macro 'DCHECK_EQ' 387 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ 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/runtime/interpreter/interpreter.cc:387:7: note: in expansion of macro 'DCHECK_EQ' 387 | DCHECK_EQ(kInterpreterImplKind, kSwitchImplKind); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/mirror/object.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/mirror/stack_trace_element.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/jit/profile_saver.cc:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/mirror/class.h:29, from art/runtime/mirror/class.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/mirror/string.cc In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/class.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/histogram-inl.h:27: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, 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: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/mirror/accessible_object.h:20, from art/runtime/mirror/executable.h:20, from art/runtime/mirror/executable-inl.h:20, from art/runtime/mirror/executable.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/mirror/throwable.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/class.cc:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/field-inl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/mirror/var_handle.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/mirror/array.h:23, from art/runtime/mirror/dex_cache.h:20, from art/runtime/mirror/dex_cache-inl.h:20, from art/runtime/mirror/dex_cache.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/mirror/array.h:23, from art/runtime/mirror/class_ext.h:20, from art/runtime/mirror/class_ext-inl.h:20, from art/runtime/mirror/class_ext.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/mirror/executable-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/utils.h:32, from art/runtime/mirror/emulated_stack_frame.h:20, from art/runtime/mirror/emulated_stack_frame-inl.h:20, from art/runtime/mirror/emulated_stack_frame.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/mirror/emulated_stack_frame.h:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/monitor.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/mirror/accessible_object.h:20, from art/runtime/mirror/executable.h:20, from art/runtime/mirror/method.h:20, from art/runtime/mirror/method.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/array.h:24, from art/runtime/mirror/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/monitor_objects_stack_visitor.cc libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/mirror/method_handle_impl.h:20, from art/runtime/mirror/method_handle_impl-inl.h:20, from art/runtime/mirror/method_handle_impl.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/mirror/class_ext-inl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/array.cc:19: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/class_root.h:20, from art/runtime/mirror/method.cc:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/mirror/emulated_stack_frame.h:24: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/method_handles-inl.h:24, from art/runtime/mirror/var_handle.cc:28: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libdexfile/dex/primitive.h:23, from art/runtime/art_field.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/mirror/object.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/emulated_stack_frame-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/native_bridge_art_interface.cc In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/mirror/array.h:23, from art/runtime/mirror/object_array.h:20, from art/runtime/mirror/method_type.h:20, from art/runtime/mirror/method_type-inl.h:20, from art/runtime/mirror/method_type.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/native_stack_dump.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/dalvik_system_DexFile.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/dex_cache-inl.h:29: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/dalvik_system_VMDebug.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/utils.h:32, from art/runtime/mirror/method_handles_lookup.h:20, from art/runtime/mirror/method_handles_lookup.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/mirror/method_handle_impl-inl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/dalvik_system_VMRuntime.cc art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/unstarted_runtime.cc:41: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/mirror/stack_trace_element.h:20, from art/runtime/mirror/stack_trace_element.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/native/dalvik_system_VMStack.cc In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/mirror/method_handles_lookup.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/arena_allocator.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object.cc:21: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/mirror/class.h:29, from art/runtime/mirror/string.h:22, from art/runtime/mirror/string-inl.h:19, from art/runtime/mirror/string-alloc-inl.h:19, from art/runtime/mirror/string.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/mirror/dex_cache-inl.h:30: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/dalvik_system_ZygoteHooks.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/mirror/method_type-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/class.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/java_lang_Class.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/native/dalvik_system_VMDebug.cc:27: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/native/java_lang_Object.cc In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/monitor.h:29, from art/runtime/monitor-inl.h:20, from art/runtime/monitor.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/monitor.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/mirror/throwable.h:20, from art/runtime/mirror/throwable.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/mirror/var_handle.h:20, from art/runtime/mirror/var_handle.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/monitor-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/native/java_lang_String.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/native_stack_dump.h:24, from art/runtime/native_stack_dump.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/class-alloc-inl.h:20, from art/runtime/mirror/method_handles_lookup.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/mirror/throwable.cc:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/native/java_lang_StringFactory.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/jit/jit.h:20, from art/runtime/native/dalvik_system_ZygoteHooks.cc:31: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/native/java_lang_System.cc In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/class-alloc-inl.h:20, from art/runtime/mirror/stack_trace_element.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/monitor_objects_stack_visitor.h:22, from art/runtime/monitor_objects_stack_visitor.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/mirror/emulated_stack_frame-inl.h:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/jni/jni_internal.h:23, from art/runtime/native/java_lang_Object.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/compiler/optimizing/inliner.cc: In member function 'void art::HInliner::RunOptimizations(art::HGraph*, const art::dex::CodeItem*, const art::DexCompilationUnit&)': art/compiler/optimizing/inliner.cc:2098:75: warning: 'accessor.art::CodeItemDataAccessor::registers_size_' may be used uninitialized [-Wmaybe-uninitialized] 2098 | total_number_of_dex_registers_ + accessor.RegistersSize(), | ~~~~~~~~~~~~~~~~~~~~~~^~ art/compiler/optimizing/inliner.cc:2090:24: note: 'accessor.art::CodeItemDataAccessor::registers_size_' was declared here 2090 | CodeItemDataAccessor accessor(callee_graph->GetDexFile(), code_item); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.h:23, from art/runtime/gc/heap-inl.h:32: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/string-inl.h:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/var_handle.cc:19: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/native/java_lang_Thread.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/jit/jit.cc:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/object.cc:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/object-inl.h:20, from art/runtime/native/java_lang_Object.cc:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native/dalvik_system_VMStack.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/native/java_lang_Throwable.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/class.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/native/dalvik_system_DexFile.cc:24: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native_bridge_art_interface.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/field-inl.h:23: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/native/dalvik_system_VMRuntime.cc:32: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/native_stack_dump.cc:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/array.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/native/dalvik_system_VMDebug.cc:26: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/native/java_lang_VMClassLoader.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/native/dalvik_system_ZygoteHooks.cc:24: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/interpreter/interpreter_common.cc: In function 'art::ObjPtr art::interpreter::GetClassForBootstrapArgument(art::EncodedArrayValueIterator::ValueType)': art/runtime/interpreter/interpreter_common.cc:954:1: warning: control reaches end of non-void function [-Wreturn-type] 954 | } | ^ 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/runtime/runtime.h:40, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | RUNTIME_OPTIONS_KEY (std::vector, \ | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/native/dalvik_system_DexFile.cc:30: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | RUNTIME_OPTIONS_KEY (std::string, NativeBridge) | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/native/dalvik_system_ZygoteHooks.cc:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/interpreter/interpreter_common.cc: In function 'bool art::interpreter::GetArgumentForBootstrapMethod(art::Thread*, art::ArtMethod*, art::EncodedArrayValueIterator::ValueType, const art::JValue*, art::JValue*)': art/runtime/interpreter/interpreter_common.cc:1036:1: warning: control reaches end of non-void function [-Wreturn-type] 1036 | } | ^ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:39: art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/monitor_objects_stack_visitor.h:25: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/interpreter/interpreter_common.cc: In function 'bool art::interpreter::PackArgumentForBootstrapMethod(art::Thread*, art::ArtMethod*, art::CallSiteArrayValueIterator*, art::ShadowFrameSetter*)': art/runtime/interpreter/interpreter_common.cc:1079:1: warning: control reaches end of non-void function [-Wreturn-type] 1079 | } | ^ host C++: libart <= art/runtime/native/java_lang_invoke_MethodHandleImpl.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/jni/jni_env_ext.cc:32: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/monitor_objects_stack_visitor.h:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/native/dalvik_system_VMRuntime.cc:33: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_instruction.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/jni/jni_internal.h:23, from art/runtime/native/java_lang_Throwable.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.cc:45: 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/runtime/runtime.h:40, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/native/java_lang_Class.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/cha.h:27, from art/runtime/jit/jit_code_cache.cc:37: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/jni/jni_internal.cc:54: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/jni/check_jni.cc:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/jit/jit_code_cache.cc:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/java_lang_ref_FinalizerReference.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/var_handle.cc:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/native/java_lang_String.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/class_loader_context.h:25, from art/runtime/native/dalvik_system_DexFile.cc:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/native/java_lang_StringFactory.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/handle_scope-inl.h:20, from art/runtime/native/java_lang_String.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/handle_scope-inl.h:20, from art/runtime/native/java_lang_StringFactory.cc:20: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/native/java_lang_System.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/array.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/native/dalvik_system_VMDebug.cc:29: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/native/java_lang_Thread.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/object.h:25, from art/runtime/native/java_lang_Thread.cc:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24, from art/runtime/native/java_lang_System.cc:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/class_linker.cc:81: art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtMethod]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] 468 | } | ^ 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtField]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/class_linker.cc: In member function 'art::ObjPtr art::ClassLinker::ResolveMethodHandle(art::Thread*, uint32_t, art::ArtMethod*)': art/runtime/class_linker.cc:9225:1: warning: control reaches end of non-void function [-Wreturn-type] 9225 | } | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/utils.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/scoped_thread_state_change.h:22, from art/runtime/native/scoped_fast_native_object_access.h:22, from art/runtime/native/scoped_fast_native_object_access-inl.h:20, from art/runtime/native/java_lang_Throwable.cc:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/native_stack_dump.cc:56: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/mem_map.h:27, from art/libartbase/base/zip_archive.h:27, from art/runtime/native/java_lang_VMClassLoader.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= art/runtime/native/java_lang_ref_Reference.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/native/scoped_fast_native_object_access-inl.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/native/java_lang_VMClassLoader.cc:20: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39, from art/runtime/native/dalvik_system_VMDebug.cc:31: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/native/java_lang_reflect_Array.cc In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class.cc:36: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/native/java_lang_VMClassLoader.cc:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/native_stack_dump.cc:58: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Constructor.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27, from art/runtime/native/scoped_fast_native_object_access-inl.h:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/utils.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/emulated_stack_frame.cc:19: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/array.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/emulated_stack_frame.h:23: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ 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. art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/mirror/executable.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/mirror/field-inl.h:22, from art/runtime/native/java_lang_invoke_MethodHandleImpl.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/mirror/array.cc: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/runtime.h:38, from art/runtime/mirror/array-inl.h:27: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/file_utils.h:24: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/mirror/class_ext.h:22: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25, from art/runtime/native/dalvik_system_DexFile.cc:38: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Executable.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/native/java_lang_System.cc:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/java_lang_Thread.cc:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/runtime_options.h: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/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/runtime/runtime.h:40, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGrowthMultiplier) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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_method.h:38, from art/runtime/mirror/method.cc:19: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | RUNTIME_OPTIONS_KEY (unsigned int, MaxSpinsBeforeThinLockInflation,Monitor::kDefaultMaxSpinsBeforeThinLockInflation) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/runtime.h:38, from art/runtime/mirror/array-inl.h:27: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | RUNTIME_OPTIONS_KEY (Unit, LowMemoryMode) | ^~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/string.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | RUNTIME_OPTIONS_KEY (bool, UseTLAB, (kUseTlab || kUseReadBarrier)) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | RUNTIME_OPTIONS_KEY (bool, EnableHSpaceCompactForOOM, true) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/runtime_options.h: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 (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | RUNTIME_OPTIONS_KEY (MemoryKiB, JITCodeCacheInitialCapacity, jit::JitCodeCache::kInitialCapacity) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/runtime_options.h: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 (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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | RUNTIME_OPTIONS_KEY (MillisecondsToNanoseconds, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/runtime_options.h: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 (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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | RUNTIME_OPTIONS_KEY (bool, Interpret, false) // -Xint | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/runtime_options.h: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 (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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | RUNTIME_OPTIONS_KEY (Unit, DisableExplicitGC) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | RUNTIME_OPTIONS_KEY (Unit, ForceNativeBridge) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | RUNTIME_OPTIONS_KEY (Unit, MethodTrace) | ^~~~~~~~~~~~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/runtime_options.h: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 (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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB) | ^~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming) | ^~~~~~~~~~~~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/runtime_options.h: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 (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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | RUNTIME_OPTIONS_KEY (std::string, Fingerprint) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | RUNTIME_OPTIONS_KEY (void (*)(), HookAbort, nullptr) | ^~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/native/java_lang_reflect_Field.cc art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/java_lang_VMClassLoader.cc:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/class_linker-inl.h:22, from art/runtime/native/java_lang_reflect_Array.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/java_lang_StringFactory.cc:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/heap.h:28, from art/runtime/native/java_lang_ref_FinalizerReference.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/array.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/heap.h:28, from art/runtime/native/java_lang_ref_Reference.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:23: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/object.cc:30: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/java_lang_String.cc:25: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/native/dalvik_system_ZygoteHooks.cc:21: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/method_handle_impl.cc:19: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/runtime/mirror/method_handle_impl.h:22: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/native_stack_dump.cc:57: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/method.cc:21: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/method_type.cc:19: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.h:23, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/monitor_objects_stack_visitor.cc:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/string-alloc-inl.h: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/mirror/class-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/mirror/dex_cache.h:24: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/emulated_stack_frame.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/monitor_objects_stack_visitor.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/native/java_lang_reflect_Method.cc In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/class_ext.cc:23: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:519:54: required from 'static void art::SubtypeCheck::WriteStatusImpl(ClassPtr, art::ClassStatus) [with ClassPtr = art::ObjPtr]' 519 | SubtypeCheckBitsAndStatus old_value = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:369:20: required from 'static void art::SubtypeCheck::WriteStatus(ClassPtr, art::ClassStatus) [with ClassPtr = art::ObjPtr]' 369 | WriteStatusImpl(klass, status); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ art/runtime/mirror/class.cc:188:53: required from here 188 | SubtypeCheck>::WriteStatus(h_this_ptr, new_status); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? host C++: libart <= art/runtime/native/java_lang_reflect_Parameter.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/native/dalvik_system_VMDebug.cc:41: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native/java_lang_reflect_Constructor.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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, from art/runtime/class_linker.h:37: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/stack_trace_element.cc:21: 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/class-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/native/java_lang_reflect_Field.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/zip_archive.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native/java_lang_reflect_Executable.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/java_lang_ref_Reference.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/casts.h:27, from art/runtime/native/dalvik_system_DexFile.cc:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/dalvik_system_DexFile.cc:42: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/handle.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class.cc:38: art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtMethod]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] 468 | } | ^ host C++: libart <= art/runtime/native/java_lang_reflect_Proxy.cc In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/method_type.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.h:23, from art/runtime/gc/heap-inl.h:32: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/native/java_util_concurrent_atomic_AtomicLong.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | _jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | _jobject* (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jboolean (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jbyte (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jchar (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jshort (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jint (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jlong (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jfloat (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jdouble (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'void (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | void (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | _jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jchar (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jshort (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jint (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jlong (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'void (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | void (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | _jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jboolean (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jbyte (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jchar (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jshort (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jint (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jlong (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jfloat (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | jdouble (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/jni_internal.cc:3302:1: warning: invalid conversion from 'void (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 3302 | }; | ^ | | | void (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:35, 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/dex_cache.h:24: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/method_handles_lookup.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/class-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native/java_lang_reflect_Method.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:39: art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/native/libcore_util_CharsetUtils.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h:35, from art/runtime/monitor.cc: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/native/java_lang_reflect_Parameter.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/jni/check_jni.cc: In static member function 'static _jobject* art::{anonymous}::CheckJNI::NewObjectA(JNIEnv*, jclass, jmethodID, const jvalue*)': art/runtime/jni/check_jni.cc:2192:56: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 2192 | result.L = baseEnv(env)->NewObjectA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/string-alloc-inl.h:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/jni/check_jni.cc: In static member function 'static art::{anonymous}::JniValueType art::{anonymous}::CheckJNI::CallMethodA(const char*, JNIEnv*, jobject, jclass, jmethodID, const jvalue*, art::Primitive::Type, art::InvokeType)': art/runtime/jni/check_jni.cc:3095:73: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3095 | result.L = baseEnv(env)->CallObjectMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3098:86: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3098 | result.L = baseEnv(env)->CallNonvirtualObjectMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3101:77: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3101 | result.L = baseEnv(env)->CallStaticObjectMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3111:74: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3111 | result.Z = baseEnv(env)->CallBooleanMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3114:87: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3114 | result.Z = baseEnv(env)->CallNonvirtualBooleanMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3117:78: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3117 | result.Z = baseEnv(env)->CallStaticBooleanMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3127:71: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3127 | result.B = baseEnv(env)->CallByteMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3130:84: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3130 | result.B = baseEnv(env)->CallNonvirtualByteMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3133:75: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3133 | result.B = baseEnv(env)->CallStaticByteMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3143:71: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3143 | result.C = baseEnv(env)->CallCharMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3146:84: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3146 | result.C = baseEnv(env)->CallNonvirtualCharMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3149:75: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3149 | result.C = baseEnv(env)->CallStaticCharMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3159:72: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3159 | result.S = baseEnv(env)->CallShortMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3162:85: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3162 | result.S = baseEnv(env)->CallNonvirtualShortMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3165:76: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3165 | result.S = baseEnv(env)->CallStaticShortMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3175:70: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3175 | result.I = baseEnv(env)->CallIntMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3178:83: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3178 | result.I = baseEnv(env)->CallNonvirtualIntMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3181:74: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3181 | result.I = baseEnv(env)->CallStaticIntMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3191:71: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3191 | result.J = baseEnv(env)->CallLongMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3194:84: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3194 | result.J = baseEnv(env)->CallNonvirtualLongMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3197:75: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3197 | result.J = baseEnv(env)->CallStaticLongMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3207:72: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3207 | result.F = baseEnv(env)->CallFloatMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3210:85: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3210 | result.F = baseEnv(env)->CallNonvirtualFloatMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3213:76: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3213 | result.F = baseEnv(env)->CallStaticFloatMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3223:73: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3223 | result.D = baseEnv(env)->CallDoubleMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3226:86: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3226 | result.D = baseEnv(env)->CallNonvirtualDoubleMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3229:77: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3229 | result.D = baseEnv(env)->CallStaticDoubleMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3240:60: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3240 | baseEnv(env)->CallVoidMethodA(env, obj, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3243:73: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3243 | baseEnv(env)->CallNonvirtualVoidMethodA(env, obj, c, mid, vargs); | ^~~~~ | | | const jvalue* art/runtime/jni/check_jni.cc:3246:64: warning: invalid conversion from 'const jvalue*' to 'jvalue*' [-fpermissive] 3246 | baseEnv(env)->CallStaticVoidMethodA(env, c, mid, vargs); | ^~~~~ | | | const jvalue* In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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, from art/runtime/method_handles.h:25: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/jni/check_jni.cc: At global scope: art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | _jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | _jobject* (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jboolean (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jbyte (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jchar (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jshort (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jint (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jlong (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jfloat (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jdouble (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'void (*)(JNIEnv*, jobject, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jobject, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | void (*)(JNIEnv*, jobject, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jobject*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | _jobject* (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jboolean (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jbyte (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jchar (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jshort (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jint (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jlong (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jfloat (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jdouble (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'void (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jobject, jclass, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | void (*)(JNIEnv*, jobject, jclass, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from '_jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to '_jobject* (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka '_jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | _jobject* (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka _jobject* (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jboolean (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jboolean (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jboolean (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka unsigned char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jbyte (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jbyte (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jbyte (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka signed char (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jchar (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jchar (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jchar (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka short unsigned int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jshort (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'short int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jshort (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'short int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jshort (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka short int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jint (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jint (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jint (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jlong (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'long int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jlong (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'long int (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jlong (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka long int (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jfloat (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'float (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jfloat (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'float (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jfloat (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka float (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'jdouble (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'double (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'jdouble (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'double (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | jdouble (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka double (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} art/runtime/jni/check_jni.cc:4011:1: warning: invalid conversion from 'void (*)(JNIEnv*, jclass, jmethodID, const jvalue*)' {aka 'void (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)'} to 'void (*)(JNIEnv*, jclass, jmethodID, jvalue*)' {aka 'void (*)(_JNIEnv*, _jclass*, _jmethodID*, jvalue*)'} [-fpermissive] 4011 | }; | ^ | | | void (*)(JNIEnv*, jclass, jmethodID, const jvalue*) {aka void (*)(_JNIEnv*, _jclass*, _jmethodID*, const jvalue*)} host C++: libart <= art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/native/java_lang_ref_FinalizerReference.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/string-alloc-inl.h:26, from art/runtime/native/java_lang_String.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc/heap.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check_info.h:222: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] 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/native/java_util_concurrent_atomic_AtomicLong.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/native/sun_misc_Unsafe.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:26: In member function 'bool art::CodeItemDebugInfoAccessor::DecodeDebugLocalInfo(bool, uint32_t, const NewLocalVisitor&) const [with NewLocalVisitor = art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&)::]', inlined from 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes32]' at art/compiler/debug/elf_debug_info_writer.h:248:40: art/libdexfile/dex/code_item_accessors-inl.h:206:41: warning: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::registers_size_' may be used uninitialized [-Wmaybe-uninitialized] 206 | return dex_file_->DecodeDebugLocalInfo(RegistersSize(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 207 | InsSize(), | ~~~~~~~~~~ 208 | InsnsSizeInCodeUnits(), | ~~~~~~~~~~~~~~~~~~~~~~~ 209 | DebugInfoOffset(), | ~~~~~~~~~~~~~~~~~~ 210 | is_static, | ~~~~~~~~~~ 211 | method_idx, | ~~~~~~~~~~~ 212 | new_local); | ~~~~~~~~~~ art/compiler/debug/elf_debug_info_writer.h: In member function 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes32]': art/compiler/debug/elf_debug_info_writer.h:150:33: note: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::registers_size_' was declared here 150 | CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); | ^~~~~~~~ In member function 'bool art::CodeItemDebugInfoAccessor::DecodeDebugLocalInfo(bool, uint32_t, const NewLocalVisitor&) const [with NewLocalVisitor = art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&)::]', inlined from 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes32]' at art/compiler/debug/elf_debug_info_writer.h:248:40: art/libdexfile/dex/code_item_accessors-inl.h:206:41: warning: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::ins_size_' may be used uninitialized [-Wmaybe-uninitialized] 206 | return dex_file_->DecodeDebugLocalInfo(RegistersSize(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 207 | InsSize(), | ~~~~~~~~~~ 208 | InsnsSizeInCodeUnits(), | ~~~~~~~~~~~~~~~~~~~~~~~ 209 | DebugInfoOffset(), | ~~~~~~~~~~~~~~~~~~ 210 | is_static, | ~~~~~~~~~~ 211 | method_idx, | ~~~~~~~~~~~ 212 | new_local); | ~~~~~~~~~~ art/compiler/debug/elf_debug_info_writer.h: In member function 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes32]': art/compiler/debug/elf_debug_info_writer.h:150:33: note: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::ins_size_' was declared here 150 | CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/native/java_util_concurrent_atomic_AtomicLong.cc:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/class_root.h:20, from art/runtime/mirror/string-alloc-inl.h:26, from art/runtime/native/java_lang_StringFactory.cc: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/runtime.h:38, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/native/dalvik_system_VMStack.cc:30: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/string-alloc-inl.h:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:24: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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/read_barrier.h:25, from art/runtime/interpreter/shadow_frame.h:27, from art/runtime/mirror/var_handle.h:21: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/method_handles.cc: In function 'bool art::{anonymous}::DoVarHandleInvokeTranslation(art::Thread*, art::ShadowFrame&, bool, art::Handle, art::Handle, const art::InstructionOperands*, art::JValue*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::mirror::MethodHandle::Kind' 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/method_handles.cc:1058:5: note: in expansion of macro 'DCHECK_EQ' 1058 | DCHECK_EQ(method_handle->GetHandleKind(), mirror::MethodHandle::Kind::kInvokeVarHandle); | ^~~~~~~~~ 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/method_handles.cc:1058:5: note: in expansion of macro 'DCHECK_EQ' 1058 | DCHECK_EQ(method_handle->GetHandleKind(), mirror::MethodHandle::Kind::kInvokeVarHandle); | ^~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/runtime/native/java_lang_reflect_Array.cc:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::mirror::MethodHandle::Kind' 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/method_handles.cc:1058:5: note: in expansion of macro 'DCHECK_EQ' 1058 | DCHECK_EQ(method_handle->GetHandleKind(), mirror::MethodHandle::Kind::kInvokeVarHandle); | ^~~~~~~~~ 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/method_handles.cc:1058:5: note: in expansion of macro 'DCHECK_EQ' 1058 | DCHECK_EQ(method_handle->GetHandleKind(), mirror::MethodHandle::Kind::kInvokeVarHandle); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/monitor.cc:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart <= art/runtime/non_debuggable_classes.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/oat.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/oat_file.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/native/dalvik_system_VMRuntime.cc:43: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/native/java_lang_reflect_Proxy.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/runtime/native/dalvik_system_ZygoteHooks.cc:42: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/oat_file_assistant.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/interpreter/unstarted_runtime.cc:44: art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtMethod]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] 468 | } | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtField]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] host C++: libart <= art/runtime/oat_file_manager.cc In file included from art/runtime/oat_file.h:38, from art/runtime/class_loader_context.h:28: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libelffile/elf/elf_utils.h:22, from art/runtime/oat_file.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/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/native/dalvik_system_VMRuntime.cc:51: 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/base/mutex.h:31, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:22: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/runtime/handle_scope-inl.h:20, from art/runtime/native/libcore_util_CharsetUtils.cc:21: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/debugger.h:31, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc:22: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In member function 'bool art::CodeItemDebugInfoAccessor::DecodeDebugLocalInfo(bool, uint32_t, const NewLocalVisitor&) const [with NewLocalVisitor = art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&)::]', inlined from 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes64]' at art/compiler/debug/elf_debug_info_writer.h:248:40: art/libdexfile/dex/code_item_accessors-inl.h:206:41: warning: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::registers_size_' may be used uninitialized [-Wmaybe-uninitialized] 206 | return dex_file_->DecodeDebugLocalInfo(RegistersSize(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 207 | InsSize(), | ~~~~~~~~~~ 208 | InsnsSizeInCodeUnits(), | ~~~~~~~~~~~~~~~~~~~~~~~ 209 | DebugInfoOffset(), | ~~~~~~~~~~~~~~~~~~ 210 | is_static, | ~~~~~~~~~~ 211 | method_idx, | ~~~~~~~~~~~ 212 | new_local); | ~~~~~~~~~~ art/compiler/debug/elf_debug_info_writer.h: In member function 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes64]': art/compiler/debug/elf_debug_info_writer.h:150:33: note: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::registers_size_' was declared here 150 | CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); | ^~~~~~~~ In member function 'bool art::CodeItemDebugInfoAccessor::DecodeDebugLocalInfo(bool, uint32_t, const NewLocalVisitor&) const [with NewLocalVisitor = art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&)::]', inlined from 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes64]' at art/compiler/debug/elf_debug_info_writer.h:248:40: art/libdexfile/dex/code_item_accessors-inl.h:206:41: warning: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::ins_size_' may be used uninitialized [-Wmaybe-uninitialized] 206 | return dex_file_->DecodeDebugLocalInfo(RegistersSize(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 207 | InsSize(), | ~~~~~~~~~~ 208 | InsnsSizeInCodeUnits(), | ~~~~~~~~~~~~~~~~~~~~~~~ 209 | DebugInfoOffset(), | ~~~~~~~~~~~~~~~~~~ 210 | is_static, | ~~~~~~~~~~ 211 | method_idx, | ~~~~~~~~~~~ 212 | new_local); | ~~~~~~~~~~ art/compiler/debug/elf_debug_info_writer.h: In member function 'void art::debug::ElfCompilationUnitWriter::Write(const art::debug::ElfCompilationUnit&) [with ElfTypes = art::ElfTypes64]': art/compiler/debug/elf_debug_info_writer.h:150:33: note: 'accessor.art::CodeItemDebugInfoAccessor::.art::CodeItemDataAccessor::ins_size_' was declared here 150 | CodeItemDebugInfoAccessor accessor(*dex, mi->code_item, mi->dex_method_index); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/oat.h:23, from art/runtime/oat.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/string-alloc-inl.h:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/handle_scope-inl.h:25: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/oat_quick_method_header.cc In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/debugger.h:31, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc/heap.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/java_lang_reflect_Proxy.cc:27: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ host C++: libart <= art/runtime/object_lock.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/oat_file.h:26, from art/runtime/oat_file.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/oat_file_manager.cc:45: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/base/quasi_atomic.h:101, from art/runtime/native/sun_misc_Unsafe.cc:27: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/oat_file.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/native/java_lang_Class.cc:33: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/runtime/native/sun_misc_Unsafe.cc:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/offsets.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/array.h:24, from art/runtime/native/sun_misc_Unsafe.cc:31: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/parsed_options.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/non_debuggable_classes.h:22, from art/runtime/non_debuggable_classes.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/field-inl.h:23: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/accessible_object.h:20, from art/runtime/mirror/field.h:20, from art/runtime/mirror/field-inl.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/jni_env_ext.h:24, from art/runtime/non_debuggable_classes.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/class.h:29: art/libdexfile/dex/primitive.h: In static member function 'static constexpr size_t art::Primitive::BitsRequiredForLargestValue(Type)': art/libdexfile/dex/primitive.h:195:3: warning: control reaches end of non-void function [-Wreturn-type] 195 | } | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/method_handles.cc: In function 'bool art::{anonymous}::MethodHandleFieldPut(art::Thread*, art::ShadowFrame&, art::ObjPtr&, art::ArtField*, art::Primitive::Type, art::JValue&)': art/runtime/method_handles.cc:845:1: warning: control reaches end of non-void function [-Wreturn-type] 845 | } | ^ host C++: libart <= art/runtime/plugin.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/oat_file_assistant.h:25, from art/runtime/oat_file_assistant.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/array-alloc-inl.h:20: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/jni/jni_internal.cc:46: art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtField]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] 468 | } | ^ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/string-inl.h:23, from art/runtime/native/libcore_util_CharsetUtils.cc:23: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtMethod]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/native/sun_misc_Unsafe.cc:32: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/quick_exception_handler.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:33, from art/runtime/parsed_options.h:31, from art/runtime/parsed_options.cc:17: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/class_loader_context.h:25, from art/runtime/oat_file_assistant.h:30: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/parsed_options.cc:25:9: warning: '_GNU_SOURCE' redefined 25 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/oat_file_manager.h:26, from art/runtime/oat_file_manager.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/runtime/class_loader_context.h:26: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/oat_quick_method_header.h:20, from art/runtime/oat_quick_method_header.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/read_barrier.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20, from art/runtime/oat_file_manager.cc:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/reference_table.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/native/java_lang_Class.cc:48: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/parsed_options.h:25: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/object_lock.h:20, from art/runtime/object_lock.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/quick_exception_handler.cc:31: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/object_lock.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/oat_file.cc:52: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/reflection.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc:27: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/native/scoped_fast_native_object_access-inl.h:23, from art/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/oat_file_assistant.cc:40: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/runtime.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/mirror/field-inl.h:23, from art/runtime/native/java_lang_reflect_Field.cc:32: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/non_debuggable_classes.cc:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/oat_file.cc:62: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/allocator.h:22, from art/runtime/gc/space/large_object_space.h:20, from art/runtime/parsed_options.h:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/dchecked_vector.h:24, from art/runtime/class_loader_context.h:24: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/var_handle.h:23: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/reference_table.h:25, from art/runtime/reference_table.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/runtime_callbacks.cc In file included from art/runtime/gc_root.h:22, from art/runtime/reference_table.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/runtime.cc:41:9: warning: '_GNU_SOURCE' redefined 41 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/object_lock.cc:20: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/runtime_common.cc In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/runtime_intrinsics.cc host C++: libart <= art/runtime/runtime_options.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ host C++: libart <= art/runtime/scoped_thread_state_change.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/array_ref.h:23, from art/runtime/oat_file.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/read_barrier.h:22, from art/runtime/read_barrier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/read_barrier.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libelffile/elf/elf_utils.h:22, from art/runtime/elf_file.h:25, from art/runtime/runtime.cc:81: /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.cc:97: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop host C++: libart <= art/runtime/signal_catcher.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/reference_table.cc:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/runtime/native/java_lang_reflect_Method.cc:30: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/runtime_options.h:33, from art/runtime/runtime_options.cc:17: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/native/java_lang_reflect_Executable.cc:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/stack.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/quick_exception_handler.h:22, from art/runtime/quick_exception_handler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/stack_map.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:31, from art/runtime/quick_exception_handler.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/quick_exception_handler.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/oat_quick_method_header.h:24: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart <= art/runtime/thread.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/runtime_options.h:25: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/reflection.h:20, from art/runtime/reflection-inl.h:20, from art/runtime/reflection.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/oat_quick_method_header.cc:19: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/thread_list.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/jvalue-inl.h:22, from art/runtime/reflection-inl.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/quick_exception_handler.cc:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/thread_pool.cc In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/handle_scope.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/var_handle.cc: In static member function 'static T art::mirror::{anonymous}::ValueGetter::Get(art::ShadowFrameGetter*) [with T = float]': art/runtime/mirror/var_handle.cc:848:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 848 | return *reinterpret_cast(&raw_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/var_handle.cc: In static member function 'static T art::mirror::{anonymous}::ValueGetter::Get(art::ShadowFrameGetter*) [with T = double]': art/runtime/mirror/var_handle.cc:854:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 854 | return *reinterpret_cast(&raw_value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/dumpable.h:22, from art/runtime/runtime_common.h:34, from art/runtime/runtime_common.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27, from art/runtime/oat_quick_method_header.cc:21: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ host C++: libart <= art/runtime/ti/agent.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/stack.cc:33: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/runtime_callbacks.h:23, from art/runtime/runtime_callbacks.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/runtime_callbacks.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/quasi_atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/runtime/runtime.h:30, from art/runtime/runtime.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/allocator.h:22, from art/runtime/gc/space/large_object_space.h:20, from art/cmdline/cmdline_types.h:35, from art/runtime/runtime_options.h:27: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/oat_file.h:38, from art/runtime/class_loader_context.h:28: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/runtime.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread_list.cc:32: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/ti/agent.cc:21: art/sigchainlib/../../bionic_translation/linker/dlfcn.h:3:9: warning: 'RTLD_LAZY' redefined 3 | #define RTLD_LAZY 0x00001 /* Lazy function call binding. */ | ^~~~~~~~~ In file included from art/runtime/ti/agent.h:20, from art/runtime/ti/agent.cc:17: /usr/include/dlfcn.h:10:9: note: this is the location of the previous definition 10 | #define RTLD_LAZY 1 | ^~~~~~~~~ art/sigchainlib/../../bionic_translation/linker/dlfcn.h:4:9: warning: 'RTLD_NOW' redefined 4 | #define RTLD_NOW 0x00002 /* Immediate function call binding. */ | ^~~~~~~~ /usr/include/dlfcn.h:11:9: note: this is the location of the previous definition 11 | #define RTLD_NOW 2 | ^~~~~~~~ art/sigchainlib/../../bionic_translation/linker/dlfcn.h:6:9: warning: 'RTLD_NOLOAD' redefined 6 | #define RTLD_NOLOAD 0x00004 /* Do not load the object. */ | ^~~~~~~~~~~ /usr/include/dlfcn.h:12:9: note: this is the location of the previous definition 12 | #define RTLD_NOLOAD 4 | ^~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/native/sun_misc_Unsafe.cc:34: 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/class-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/stack_map.h:22, from art/runtime/stack_map.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/native/java_lang_reflect_Constructor.cc:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/runtime_intrinsics.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/native/java_lang_Class.cc:31: art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtMethod]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] 468 | } | ^ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/runtime/runtime_common.cc:33: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/hidden_api.h: In function 'bool art::hiddenapi::ShouldDenyAccessToMember(T*, const std::function&, AccessMethod) [with T = art::ArtField]': art/runtime/hidden_api.h:468:1: warning: control reaches end of non-void function [-Wreturn-type] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/runtime/signal_catcher.h:21, from art/runtime/signal_catcher.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/scoped_thread_state_change.h:22, from art/runtime/scoped_thread_state_change.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/trace.cc In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38, from art/runtime/runtime_common.cc:35: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/java_vm_ext.h:24, from art/runtime/scoped_thread_state_change.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] host C++: libart <= art/runtime/transaction.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/var_handles.cc In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/stack.h:23, from art/runtime/stack.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/oat_file.cc:65: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22, from art/runtime/scoped_thread_state_change.cc:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/barrier.h:32, from art/runtime/thread_pool.h:24, from art/runtime/thread_pool.cc:18: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/hidden_api.h:25, from art/runtime/runtime_options.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/reflection-inl.h:28: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/reference_table.cc:28: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/vdex_file.cc In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/runtime_callbacks.cc:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/thread.h:28, from art/runtime/thread.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/verifier/class_verifier.cc In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/runtime.cc:55: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/signal_catcher.cc:37: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack.h:26: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/barrier.h:32, from art/runtime/thread_list.h:20, from art/runtime/thread_list.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/trace.cc:41: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/logging.h:22, from art/runtime/ti/agent.cc:23: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/runtime_common.cc:36: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/verifier/instruction_flags.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/hidden_api.h:25, from art/runtime/runtime_options.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/method_handles-inl.h:24, from art/runtime/var_handles.cc:22: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/base/mutex.h:31, from art/runtime/jni/java_vm_ext.h:23, from art/runtime/ti/agent.cc:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/runtime.h:38, from art/runtime/thread_pool.cc:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/stack.cc:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/transaction.h:20, from art/runtime/transaction.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/base/mutex-inl.h:26, from art/runtime/thread_list.cc:33: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/verifier/method_verifier.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32, from art/runtime/jni/java_vm_ext.h:24: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/verifier/reg_type.cc In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/verifier/reg_type_cache.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/var_handle.cc: In function 'art::mirror::{anonymous}::AccessModeTemplate art::mirror::{anonymous}::GetAccessModeTemplate(art::mirror::VarHandle::AccessMode)': art/runtime/mirror/var_handle.cc:172:1: warning: control reaches end of non-void function [-Wreturn-type] 172 | } | ^ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/thread.cc:44: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/var_handle.cc: In static member function 'static const char* art::mirror::VarHandle::GetReturnTypeDescriptor(const char*)': art/runtime/mirror/var_handle.cc:1618:1: warning: control reaches end of non-void function [-Wreturn-type] 1618 | } | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/thread_pool.cc:35: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/runtime/stack_map.cc:22: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= art/runtime/verifier/register_line.cc In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/signal_catcher.cc:38: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/macros.h:24, from art/runtime/verifier/instruction_flags.h:23, from art/runtime/verifier/instruction_flags.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/oat_file-inl.h:23, from art/runtime/oat_file.cc:67: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host C++: libart <= art/runtime/verifier/verifier_deps.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/verifier/class_verifier.h:23, from art/runtime/verifier/class_verifier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/quick_exception_handler.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/scoped_thread_state_change-inl.h:27, from art/runtime/stack_map.cc:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/verify_object.cc art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/mutex.h:31, from art/runtime/transaction.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/verifier/class_verifier.h:25: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] host C++: libart <= art/runtime/well_known_classes.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/trace.h:29, from art/runtime/trace.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/verifier/class_verifier.h:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/transaction.h:26: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/instrumentation.h:30, from art/runtime/trace.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In function 'void art::interpreter::GetResourceAsStream(art::Thread*, art::ShadowFrame*, art::JValue*, size_t)', inlined from 'static void art::interpreter::UnstartedRuntime::UnstartedClassLoaderGetResourceAsStream(art::Thread*, art::ShadowFrame*, art::JValue*, size_t)' at art/runtime/interpreter/unstarted_runtime.cc:681:22: art/runtime/interpreter/unstarted_runtime.cc:613:49: warning: 'map_size' may be used uninitialized [-Wmaybe-uninitialized] 613 | Handle h_array(hs.NewHandle(mirror::ByteArray::Alloc(self, map_size))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/interpreter/unstarted_runtime.cc: In static member function 'static void art::interpreter::UnstartedRuntime::UnstartedClassLoaderGetResourceAsStream(art::Thread*, art::ShadowFrame*, art::JValue*, size_t)': art/runtime/interpreter/unstarted_runtime.cc:590:10: note: 'map_size' was declared here 590 | size_t map_size; | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/ti/agent.cc:27: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/vdex_file.h:24, from art/runtime/vdex_file.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/file_utils.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/mirror/var_handle.h:20, from art/runtime/var_handles.h:20, from art/runtime/var_handles.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/mirror/class_ext.h:22, from art/runtime/object_lock.cc:19: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/verifier/class_verifier.cc:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/runtime/jit/profile_saver.h:22, from art/runtime/signal_catcher.cc:39: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/vdex_file.h:28: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/arch/context.cc In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/base/mutex-inl.h:26, from art/runtime/transaction.cc:21: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/arch/instruction_set_features.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/memcmp16.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/runtime/trace.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/verify_object.h:22, from art/runtime/verify_object-inl.h:20, from art/runtime/verify_object.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/arch/arm/instruction_set_features_arm.cc In file included from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/vdex_file.cc:31: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/interpreter/interpreter_common.h:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/well_known_classes.h:20, from art/runtime/well_known_classes.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/reflection.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/runtime.h:38, from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/context.h:23, from art/runtime/arch/context-inl.h:20, from art/runtime/arch/context.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34, from art/runtime/well_known_classes.cc:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ host C++: libart <= art/runtime/arch/arm/registers_arm.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/runtime/well_known_classes.cc:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/verifier/register_line.h:27, from art/runtime/verifier/register_line.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/instruction_set_features_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/verifier/reg_type_cache-inl.h:20, from art/runtime/verifier/reg_type_cache.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/obj_ptr.h:23, from art/runtime/verify_object.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/libartbase/base/arena_object.h:22, from art/runtime/verifier/reg_type.h:26, from art/runtime/verifier/reg_type-inl.h:20, from art/runtime/verifier/reg_type.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/object.h:25, from art/runtime/mirror/object-inl.h:20, from art/runtime/verify_object-inl.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/ti/agent.cc: In member function 'std::unique_ptr art::ti::AgentSpec::DoDlOpen(JNIEnv*, jobject, art::ti::LoadError*, std::string*)': art/runtime/ti/agent.cc:123:46: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive] 123 | char* bionic_dlerror_msg = bionic_dlerror(); | ~~~~~~~~~~~~~~^~ | | | const char* In file included from art/runtime/scoped_thread_state_change-inl.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/verifier/verifier_deps.h:25, from art/runtime/verifier/verifier_deps.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/verifier/reg_type.h:28: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/verifier/reg_type.h:31: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/cmdline/cmdline_types.h:37, from art/runtime/runtime_options.h:27: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovingSpaceCapacity) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/verifier/verifier_deps.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/arch/arm64/registers_arm64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/mips/instruction_set_features_mips.cc In file included from art/libartbase/base/variant_map.h:25, from art/runtime/runtime_options.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/mips/registers_mips.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/hidden_api.h:25, from art/runtime/well_known_classes.cc:30: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/arena_allocator.h:28, from art/runtime/verifier/method_verifier.h:26, from art/runtime/verifier/method_verifier-inl.h:20, from art/runtime/verifier/method_verifier.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/thread.h:37, from art/runtime/verifier/verifier_deps.h:30: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/array-inl.h:26, from art/runtime/mirror/object-inl.h:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/interpreter/interpreter_common.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/runtime/verifier/method_verifier.h:32, from art/runtime/verifier/method_verifier-inl.h:20, from art/runtime/verifier/register_line.cc:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/runtime/quick_exception_handler.cc:36: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/verifier/method_verifier.h:33: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/class_root.h:20, from art/runtime/verifier/reg_type_cache-inl.h:21: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/arch/mips64/instruction_set_features_mips64.cc In file included from art/runtime/ti/agent.cc:26: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/mips64/registers_mips64.cc In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/mips/registers_mips.h:22, from art/runtime/arch/mips/registers_mips.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/x86/instruction_set_features_x86.cc In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/arch/x86/registers_x86.cc libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/arch/x86_64/registers_x86_64.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/entrypoints/entrypoint_utils.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/arm/instruction_set_features_arm.h:20, from art/runtime/arch/arm/instruction_set_features_arm.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/runtime/verifier/method_verifier.h:32, from art/runtime/verifier/reg_type-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/instruction_set_features.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/runtime/verifier/method_verifier.h:32: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/runtime/vdex_file.cc:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/verifier/verifier_deps.cc:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/handle.h:23, from art/runtime/verifier/method_verifier.h:33: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/verifier/verifier_deps.h:30, from art/runtime/verifier/reg_type-inl.h:26, from art/runtime/verifier/register_line.cc:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/arm64/instruction_set_features_arm64.h:20, from art/runtime/arch/arm64/instruction_set_features_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ host C++: libart <= art/runtime/entrypoints/jni/jni_entrypoints.cc art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/entrypoints/math_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/cmdline/cmdline_types.h:37: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | RUNTIME_OPTIONS_KEY (InstructionSet, ImageInstructionSet, kRuntimeISA) | ^~~~~~~~~~~~~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/mips64/registers_mips64.h:22, from art/runtime/arch/mips64/registers_mips64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37, from art/runtime/verifier/verifier_deps.h:30, from art/runtime/verifier/reg_type-inl.h:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= art/runtime/entrypoints/quick/quick_cast_entrypoints.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/x86/registers_x86.h:22, from art/runtime/arch/x86/registers_x86.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/runtime/arch/x86_64/registers_x86_64.h:22, from art/runtime/arch/x86_64/registers_x86_64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/parsed_options.cc: In member function 'bool art::ParsedOptions::DoParse(const art::RuntimeOptions&, bool, art::RuntimeArgumentMap*)': art/runtime/parsed_options.cc:580:12: warning: invalid conversion from 'void (*)()' to 'const void*' [-fpermissive] 580 | dladdr(art_sigsegv_fault, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~~ | | | void (*)() In file included from art/runtime/ti/agent.h:20, from art/cmdline/cmdline_types.h:41: /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/parsed_options.cc:584:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 584 | char *path_to_jars = "/../java/dex/art/"; | ^~~~~~~~~~~~~~~~~~~ art/runtime/parsed_options.cc:585:41: warning: invalid conversion from 'void*' to 'char*' [-fpermissive] 585 | char *libart_so_full_path = malloc(strlen(libart_so_dl_info.dli_fname) + strlen(path_to_jars) + 1); // overallocating but that's fine | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* art/runtime/parsed_options.cc:695:14: warning: invalid conversion from 'void (*)()' to 'const void*' [-fpermissive] 695 | dladdr(art_sigsegv_fault, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~~ | | | 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 *); | ^~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc host C++: libart <= art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/transaction.cc:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/runtime/vdex_file.h:23: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_entrypoints_enum.cc In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/mips64/instruction_set_features_mips64.h:20, from art/runtime/arch/mips64/instruction_set_features_mips64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= art/runtime/entrypoints/quick/quick_field_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/scoped_thread_state_change-inl.h:28, from art/runtime/thread_list.cc:47: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= art/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/reflection.cc:33: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/verifier/method_verifier.cc:23: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/mips/instruction_set_features_mips.h:22, from art/runtime/arch/mips/instruction_set_features_mips.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/runtime/arch/x86/instruction_set_features_x86.h:20, from art/runtime/arch/x86/instruction_set_features_x86.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | 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++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_lock_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_math_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/mutex.h:28: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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 libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= art/runtime/entrypoints/quick/quick_thread_entrypoints.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/entrypoints/entrypoint_utils.h:24, from art/runtime/entrypoints/entrypoint_utils.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/entrypoints/entrypoint_utils.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/entrypoints/quick/quick_throw_entrypoints.cc 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/mirror/class.h:29, from art/runtime/mirror/class-inl.h:20, from art/runtime/entrypoints/quick/quick_cast_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/runtime.cc:105: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/class.h:31: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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, from art/runtime/class_linker.h:37, from art/runtime/aot_class_linker.h:20, from art/runtime/runtime.cc:46: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/callee_save_type.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/entrypoints/entrypoint_utils.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/entrypoints/quick/callee_save_frame.h:20, from art/runtime/entrypoints/quick/quick_thread_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/locks.h_operator_out.cc In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/stack.cc:27: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/class_loader_context.h_operator_out.cc art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/entrypoints/entrypoint_utils.h:24, from art/runtime/entrypoints/entrypoint_utils-inl.h:20, from art/runtime/entrypoints/math_entrypoints.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_entrypoints.h:22, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:20, from art/runtime/entrypoints/quick/quick_entrypoints_enum.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/jni/jni_entrypoints.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/class_status.h_operator_out.cc art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/oat_file.h:38, from art/runtime/class_loader_context.h:28, from art/runtime/vdex_file.cc:32: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger.h_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc_root.h_operator_out.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/entrypoints/entrypoint_utils.h:29: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/entrypoints/quick/callee_save_frame.h:20, from art/runtime/entrypoints/quick/quick_lock_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.h:20, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator_type.h_operator_out.cc libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/signal_catcher.cc:41: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/callee_save_frame.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/primitive.h:25, from art/runtime/art_field.h:22, from art/runtime/art_field-inl.h:20, from art/runtime/entrypoints/quick/quick_field_entrypoints.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/runtime/mirror/emulated_stack_frame.h:24, from art/runtime/runtime.cc:109: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/logging.h:22, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/handle.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_field.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/jit/jit.h:20, from art/runtime/jit/jit-inl.h:20, from art/runtime/interpreter/interpreter_common.h:47, from art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:38: art/libartbase/base/histogram-inl.h:234: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 234 | #pragma clang diagnostic push art/libartbase/base/histogram-inl.h:235: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 235 | #pragma clang diagnostic ignored "-Wfloat-equal" art/libartbase/base/histogram-inl.h:277: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 277 | #pragma clang diagnostic pop In file included from art/runtime/base/mutex.h:31, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:18: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_fillarray_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/runtime/entrypoints/entrypoint_utils-inl.h:22: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/art_method.h:38, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/runtime/verifier/verifier_deps.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_method-inl.h:32: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/entrypoints/quick/callee_save_frame.h:23: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector_type.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/collector/gc_type.h_operator_out.cc libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_throw_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/class-alloc-inl.h:22, from art/runtime/thread.cc:82: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/heap.h_operator_out.cc In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_jni_entrypoints.cc:19: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:25, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:19: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-inl.h:20, from art/runtime/entrypoints/quick/callee_save_frame.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/mirror/iftable-inl.h:21, from art/runtime/mirror/class-inl.h:34: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space.h_operator_out.cc In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/weak_root_state.h_operator_out.cc In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/parsed_options.h:31, from art/runtime/runtime.cc:153: 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 (ParseStringList<':'>,BootClassPath) // 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:40:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 40 | RUNTIME_OPTIONS_KEY (ParseStringList<':'>,BootClassPath) // std::vector | ^~~~~~~~~~~~~~~~~~~ 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 (std::string, 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 (std::string, JdwpOptions, "") | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JdwpProvider' [-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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.def:48:43: warning: declaration of 'art::RuntimeArgumentMap::Key art::RuntimeArgumentMap::JdwpProvider' changes meaning of 'JdwpProvider' [-Wchanges-meaning] 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:109: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ art/runtime/runtime_options.def:48:22: note: used here to mean 'enum class art::JdwpProvider' 48 | RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset) | ^~~~~~~~~~~~ art/runtime/runtime_options.h:75:63: note: in definition of macro 'RUNTIME_OPTIONS_KEY' 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~ In file included from art/runtime/runtime.h:40: art/runtime/jdwp_provider.h:26:12: note: declared here 26 | enum class JdwpProvider { | ^~~~~~~~~~~~ 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:49:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 49 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:50:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 50 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:51:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 51 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:52:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 52 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:53:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 53 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:54:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 54 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:55:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 55 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:56:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 56 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:57:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 57 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | 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:58:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 58 | RUNTIME_OPTIONS_KEY (unsigned int, ConcGCThreads) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FinalizerTimeoutMs' [-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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, FinalizerTimeoutMs, 10000u) | ^~~~~~~~~~~~~~~~~~~ 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:60:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 60 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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:61:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 61 | 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: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 'LongGCLogThreshold' [-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 'ThreadSuspendTimeout' [-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 (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:66:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 66 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | 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:68:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 68 | RUNTIME_OPTIONS_KEY (Unit, DumpGCPerformanceOnShutdown) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoBeforeGC' [-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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, DumpRegionInfoBeforeGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'DumpRegionInfoAfterGC' [-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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (Unit, DumpRegionInfoAfterGC) | ^~~~~~~~~~~~~~~~~~~ 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:71:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 71 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:72:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 72 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:73:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 73 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:74:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 74 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:75:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 75 | 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, 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:76:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 76 | RUNTIME_OPTIONS_KEY (bool, UseJitCompilation, true) | ^~~~~~~~~~~~~~~~~~~ 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:77:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 77 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:78:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 78 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:79:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 79 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:80:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 80 | 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:81:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 81 | RUNTIME_OPTIONS_KEY (unsigned int, JITOsrThreshold) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/runtime_options.h: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 (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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:82:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 82 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | 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:83:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 83 | RUNTIME_OPTIONS_KEY (unsigned int, JITInvokeTransitionWeight) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'JITPoolThreadPthreadPriority' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:84:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 84 | RUNTIME_OPTIONS_KEY (int, JITPoolThreadPthreadPriority, jit::kJitPoolThreadPthreadDefaultPriority) | ^~~~~~~~~~~~~~~~~~~ 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:85:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 85 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:86:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 86 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:87:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 87 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:90:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 90 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | 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:92:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 92 | RUNTIME_OPTIONS_KEY (std::string, JniTrace) | ^~~~~~~~~~~~~~~~~~~ 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | 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:93:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 93 | RUNTIME_OPTIONS_KEY (bool, Relocate, kDefaultMustRelocate) | ^~~~~~~~~~~~~~~~~~~ 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, 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:94:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 94 | RUNTIME_OPTIONS_KEY (bool, ImageDex2Oat, true) | ^~~~~~~~~~~~~~~~~~~ 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:95:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 95 | 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:97:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 97 | RUNTIME_OPTIONS_KEY (XGcOption, GcOption) // -Xgc: | ^~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/runtime_options.h: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 (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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | 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:98:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 98 | RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \ | ^~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:100:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 100 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:101:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 101 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:103:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 103 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:104:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 104 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:105:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 105 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:106:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 106 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:107:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 107 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | 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:108:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 108 | RUNTIME_OPTIONS_KEY (unsigned int, StackDumpLockProfThreshold) | ^~~~~~~~~~~~~~~~~~~ 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:109:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 109 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:110:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 110 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:111:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 111 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:112:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 112 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:113:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 113 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:114:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 114 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | 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:115:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 115 | RUNTIME_OPTIONS_KEY (std::string, Compiler) | ^~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:116:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 116 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:118:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 118 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | 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:120:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 120 | RUNTIME_OPTIONS_KEY (verifier::VerifyMode, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'TargetSdkVersion' [-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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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, TargetSdkVersion, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'HiddenApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'CorePlatformApiPolicy' [-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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h: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 (hiddenapi::EnforcementPolicy, | ^~~~~~~~~~~~~~~~~~~ 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:130:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 130 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:131:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 131 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:132:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 132 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:133:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 133 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:134:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 134 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:135:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 135 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:136:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 136 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:137:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 137 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:138:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 138 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:142:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 142 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:144:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 144 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:145:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 145 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:146:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 146 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:147:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 147 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:151:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 151 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:155:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 155 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | 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:157:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 157 | RUNTIME_OPTIONS_KEY (bool, SlowDebug, false) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'GlobalRefAllocStackTraceLimit' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:159:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 159 | RUNTIME_OPTIONS_KEY (unsigned int, GlobalRefAllocStackTraceLimit, 0) // 0 = off | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'UseStderrLogger' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:160:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 160 | RUNTIME_OPTIONS_KEY (Unit, UseStderrLogger) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'OnlyUseSystemOatFiles' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:162:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 162 | RUNTIME_OPTIONS_KEY (Unit, OnlyUseSystemOatFiles) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'VerifierLoggingThreshold' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:163:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 163 | RUNTIME_OPTIONS_KEY (unsigned int, VerifierLoggingThreshold, 100) | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'ImageSpaceLoadingOrder' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: note: remove parentheses 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:165:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 165 | RUNTIME_OPTIONS_KEY (gc::space::ImageSpaceLoadingOrder, \ | ^~~~~~~~~~~~~~~~~~~ art/runtime/runtime_options.h:75:108: warning: unnecessary parentheses in declaration of 'FastClassNotFoundException' [-Wparentheses] 75 | #define RUNTIME_OPTIONS_KEY(Type, Name, ...) static const Key __attribute__((visibility("default"))) (Name); | ^~~~~~ art/runtime/runtime_options.def:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, 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:169:1: note: in expansion of macro 'RUNTIME_OPTIONS_KEY' 169 | RUNTIME_OPTIONS_KEY (bool, FastClassNotFoundException, true) | ^~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/read_barrier.h:25, from art/runtime/interpreter/shadow_frame.h:27, from art/runtime/mirror/var_handle.h:21: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/class_loader_context.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/class_loader_context.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image.h_operator_out.cc In file included from art/runtime/verifier/register_line.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/class_root.h:20, from art/runtime/verifier/reg_type_cache-inl.h:21, from art/runtime/verifier/register_line-inl.h:25, from art/runtime/verifier/register_line.cc:24: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/monitor_objects_stack_visitor.h:25, from art/runtime/thread.cc:88: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/locks.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/runtime/art_method-inl.h:20, from art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/instrumentation.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.cc: In member function 'void art::Thread::Park(bool, int64_t)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::' 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/thread.cc:384:5: note: in expansion of macro 'DCHECK_EQ' 384 | DCHECK_EQ(old_state, kPermitAvailable); | ^~~~~~~~~ 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/thread.cc:384:5: note: in expansion of macro 'DCHECK_EQ' 384 | DCHECK_EQ(old_state, kPermitAvailable); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/indirect_reference_table.h_operator_out.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp_provider.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc_root.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp.h_operator_out.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/runtime/gc/allocator/rosalloc.h:31, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/allocator/rosalloc.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/class_loader_context.h:25: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/gc/space/region_space.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/class_linker.h:29, from art/runtime/debugger.h:31, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/debugger.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_constants.h_operator_out.cc In file included from art/runtime/base/locks.h:25, from art/runtime/handle_scope.h:25, from art/runtime/class_loader_context.h:26: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/lock_word.h_operator_out.cc host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/verifier/method_verifier.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/interpreter/interpreter.h:21, from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:20: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/gc/allocator/rosalloc.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/class_linker.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/object_callbacks.h_operator_out.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/arena_object.h:20: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/verifier/reg_type.cc:24: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/heap.h:28, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/heap.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libdexfile/dex/primitive.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/process_state.h_operator_out.cc In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/runtime.cc: In member function 'void art::Runtime::AttachAgent(JNIEnv*, const std::string&, jobject)': art/runtime/runtime.cc:1814:55: warning: passing 'art::ti::LoadError' chooses 'int' over 'unsigned int' [-Wsign-promo] 1814 | LOG(WARNING) << "Agent attach failed (result=" << error << ") : " << error_msg; | ^~~~~ art/runtime/runtime.cc:1814: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/runtime.cc: In member function 'void art::Runtime::InitNativeMethods()': art/runtime/runtime.cc:1846:14: warning: invalid conversion from 'void (*)()' to 'const void*' [-fpermissive] 1846 | dladdr(art_sigsegv_fault, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~~ | | | 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:1875:14: warning: invalid conversion from 'void (*)()' to 'const void*' [-fpermissive] 1875 | dladdr(art_sigsegv_fault, &libart_so_dl_info); | ^~~~~~~~~~~~~~~~~ | | | 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 *); | ^~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/gc/space/space.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack.h_operator_out.cc In file included from art/runtime/base/mutex.h:31, from art/runtime/gc/space/region_space.h:21: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/suspend_reason.h_operator_out.cc art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/indirect_reference_table.h:29, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/indirect_reference_table.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.h_operator_out.cc In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/gc_root.h:22, from art/runtime/indirect_reference_table.h:32: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/thread.h:37, from art/runtime/debugger.h:39: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread_state.h_operator_out.cc In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/mirror/object.h:20, from art/runtime/image.h:24, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/ti/agent.h_operator_out.cc art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/trace.h_operator_out.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/runtime/instrumentation.h:25, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/instrumentation.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/runtime/common_dex_operations.h:39, from art/runtime/interpreter/interpreter_common.h:39: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/entrypoints/quick/quick_deoptimization_entrypoints.cc:23: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/verifier/verifier_enums.h_operator_out.cc In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/gc/space/region_space.h:23: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' host asm: libart <= out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mterp_arm64.S In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/base/locks.h:25, from art/runtime/instrumentation.h:27: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/oat_file.h:38, from art/runtime/class_loader_context.h:28: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/runtime/object_callbacks.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/object_callbacks.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] In file included from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31, from art/runtime/mirror/object-inl.h:26, from art/runtime/entrypoints/quick/quick_lock_entrypoints.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/gc_root.h:22, from art/runtime/instrumentation.h:30: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/oat.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/oat.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ host C++: libart-dex2oat <= art/dex2oat/linker/arm64/relative_patcher_arm64.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h: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/verifier/reg_type_cache.h:28, from art/runtime/verifier/method_verifier.h:35: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ host C++: libart-dex2oat <= art/dex2oat/linker/arm/relative_patcher_arm_base.cc In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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/verifier/reg_type_cache.h:28, from art/runtime/verifier/method_verifier.h:35: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart-dex2oat <= art/dex2oat/linker/arm/relative_patcher_thumb2.cc art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dex2oat <= art/dex2oat/dex/dex_to_dex_compiler.cc host C++: libart-dex2oat <= art/dex2oat/dex/quick_compiler_callbacks.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dex2oat <= art/dex2oat/driver/compiler_driver.cc In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dex2oat <= art/dex2oat/linker/elf_writer.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/read_barrier.h:22, from art/runtime/lock_word.h:26, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/lock_word.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22, from art/runtime/read_barrier.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host C++: libart-dex2oat <= art/dex2oat/linker/elf_writer_quick.cc host C++: libart-dex2oat <= art/dex2oat/linker/image_writer.cc In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/interpreter/interpreter_common.h:43: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libart-dex2oat <= art/dex2oat/linker/multi_oat_relative_patcher.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/var_handle.h:23: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ host C++: libart-dex2oat <= art/dex2oat/linker/oat_writer.cc host C++: libart-dex2oat <= art/dex2oat/linker/relative_patcher.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libelffile/elf/elf_utils.h:22, from art/runtime/elf_file.h:25, from art/dex2oat/linker/elf_writer.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 | ^~~~~~~ host C++: libart-dex2oat <= out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/dex/dex_to_dex_compiler.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ host C++: libart-dex2oat <= out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/driver/compiler_driver.h_operator_out.cc cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ host C++: libart-dex2oat <= out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/linker/image_writer.h_operator_out.cc In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ In file included from art/runtime/art_method-inl.h:35, from art/runtime/class_linker-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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ Install: out/host/linux-x86/lib64/libartpalette.so host StaticLib: libopenjdkjvm (out/host/linux-x86/obj/STATIC_LIBRARIES/libopenjdkjvm_intermediates/libopenjdkjvm.a) In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/jdwp/jdwp.h:20, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' Copying: out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes-jarjar.jar Install: out/host/linux-x86/framework/dx.jar art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ Install: out/host/linux-x86/framework/jarjar.jar In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/thread.h:28, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/thread.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' host StaticLib: libincfs-utils (out/host/linux-x86/obj/STATIC_LIBRARIES/libincfs-utils_intermediates/libincfs-utils.a) host StaticLib: libandroidfw_pathutils (out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_pathutils_intermediates/libandroidfw_pathutils.a) Install: out/host/linux-x86/bin/dalvikvm host SharedLib: libziparchive (out/host/linux-x86/obj/lib/libziparchive.so) host SharedLib: libutils (out/host/linux-x86/obj/lib/libutils.so) In file included from art/runtime/stack.h:26, from art/runtime/trace.cc:49: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ Copying: out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes.jar art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ Copy: dx (out/host/linux-x86/obj/EXECUTABLES/dx_intermediates/dx) In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ Install: out/host/linux-x86/bin/dx art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/stack.h:23, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' target Dex: core-all-hostdex In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ Install: out/host/linux-x86/lib64/libziparchive.so host SharedLib: libjavacore (out/host/linux-x86/obj/lib/libjavacore.so) In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ host SharedLib: libartbase (out/host/linux-x86/obj/lib/libartbase.so) host SharedLib: libcutils (out/host/linux-x86/obj/lib/libcutils.so) Install: out/host/linux-x86/lib64/libutils.so In file included from art/libartbase/base/bit_utils.h:23, from art/runtime/mirror/class.h:22: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:30, from art/compiler/debug/elf_debug_writer.h:28, from art/dex2oat/linker/elf_writer_quick.cc:31: /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/libartbase/base/macros.h:24, from art/dex2oat/linker/elf_writer.h:26, from art/dex2oat/linker/elf_writer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/base/mutex.h:31, from art/dex2oat/linker/elf_writer.h:27: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/quick/quick_field_entrypoints.cc:24: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/quick/quick_dexcache_entrypoints.cc:24: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ host SharedLib: libbacktrace (out/host/linux-x86/obj/lib/libbacktrace.so) Install: out/host/linux-x86/lib64/libcutils.so art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/libelffile/elf/elf_utils.h:22, from art/dex2oat/linker/image_writer.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 | ^~~~~~~ In file included from art/runtime/entrypoints/quick/quick_jni_entrypoints.cc:17: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/compiler/debug/method_debug_info.h:24, from art/compiler/debug/debug_info.h:23, from art/dex2oat/linker/elf_writer.h:29: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ Install: out/host/linux-x86/lib64/libbacktrace.so libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ host SharedLib: libandroidfw (out/host/linux-x86/obj/lib/libandroidfw.so) Install: out/host/linux-x86/lib64/libjavacore.so art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/entrypoints/jni/jni_entrypoints.cc:17: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/trace.h:29, from out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/trace.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ Install: out/host/linux-x86/lib64/libartbase.so host SharedLib: libdexfile (out/host/linux-x86/obj/lib/libdexfile.so) In file included from art/runtime/gc_root.h:22, from art/runtime/instrumentation.h:30, from art/runtime/trace.h:34: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/linker/arm/relative_patcher_arm_base.h:24, from art/dex2oat/linker/arm/relative_patcher_arm_base.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/interpreter/interpreter_common.h: At global scope: art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/var_handles.cc: In function 'bool art::VarHandleInvokeAccessor(Thread*, ShadowFrame&, Handle, Handle, mirror::VarHandle::AccessMode, const InstructionOperands*, JValue*)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'signed char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'signed char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::mirror::VarHandle::MatchKind' chooses 'unsigned char' over 'char' [-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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream& std::operator<<(basic_ostream&, unsigned char) [with _Traits = 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/var_handles.cc:91:5: note: in expansion of macro 'DCHECK_EQ' 91 | DCHECK_EQ(match_kind, mirror::VarHandle::MatchKind::kNone); | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/linker/multi_oat_relative_patcher.h:20, from art/dex2oat/linker/multi_oat_relative_patcher.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/linker/relative_patcher.h:22, from art/dex2oat/linker/relative_patcher.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/linker/elf_writer_quick.h:22, from art/dex2oat/linker/elf_writer_quick.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/art_method.h:23: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/dex2oat/linker/image_writer.h:31, from out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/linker/image_writer.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ Install: out/host/linux-x86/lib64/libdexfile.so host SharedLib: libprofile (out/host/linux-x86/obj/lib/libprofile.so) In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/driver/compiler_driver.h:25, from art/dex2oat/driver/compiler_driver.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/verifier/register_line.h:29: art/libartbase/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:233:18: required from here 233 | ProtectMemory(ptr, RegisterLine::ComputeSize(ptr->NumRegs())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:242: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] 242 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:249: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] 249 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ Install: out/host/linux-x86/lib64/libandroidfw.so In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ host SharedLib: libart-dexlayout (out/host/linux-x86/obj/lib/libart-dexlayout.so) art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ Install: out/host/linux-x86/lib64/libprofile.so libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/linker/arm/relative_patcher_arm_base.h:24, from art/dex2oat/linker/arm64/relative_patcher_arm64.h:21, from art/dex2oat/linker/arm64/relative_patcher_arm64.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/dex2oat/linker/arm/relative_patcher_arm_base.cc:25: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/driver/compiler_driver.h:25, from out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/driver/compiler_driver.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/art_method.h:23: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/linker/arm/relative_patcher_arm_base.h:24, from art/dex2oat/linker/arm/relative_patcher_thumb2.h:22, from art/dex2oat/linker/arm/relative_patcher_thumb2.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/compiler_callbacks.h:20, from art/dex2oat/dex/quick_compiler_callbacks.h:20, from art/dex2oat/dex/quick_compiler_callbacks.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/runtime/art_method.h:30, from art/dex2oat/linker/image_writer.h:31, from art/dex2oat/linker/image_writer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/base/mutex.h:31, from art/dex2oat/linker/elf_writer.h:27, from art/dex2oat/linker/elf_writer_quick.h:24: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/dex2oat/driver/compiler_driver.h:29: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/runtime/verifier/verifier_deps.h:28, from art/dex2oat/dex/quick_compiler_callbacks.h:21: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/dex2oat/dex/dex_to_dex_compiler.h:25, from art/dex2oat/dex/dex_to_dex_compiler.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/macros.h:24, from art/libartbase/base/atomic.h:27, from art/runtime/base/mutex.h:31, from art/dex2oat/dex/dex_to_dex_compiler.h:25, from out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/dex/dex_to_dex_compiler.h_operator_out.cc:3: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/compiler/debug/method_debug_info.h:24, from art/dex2oat/linker/multi_oat_relative_patcher.h:22: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/entrypoint_utils.cc:26: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/linker/relative_patcher.h:26: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libartbase/base/mem_map.h:27, from art/dex2oat/linker/oat_writer.h:29, from art/dex2oat/linker/oat_writer.cc:17: libbase/include/android-base/thread_annotations.h: In constructor 'android::base::ScopedLockAssertion::ScopedLockAssertion(std::mutex&)': libbase/include/android-base/thread_annotations.h:143:35: warning: unused parameter 'mutex' [-Wunused-parameter] 143 | ScopedLockAssertion(std::mutex& mutex) ACQUIRE(mutex) {} | ~~~~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/dex2oat/linker/arm64/relative_patcher_arm64.cc:21: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/base/mutex.h:31, from art/dex2oat/driver/compiler_driver.h:29: art/libartbase/base/atomic.h: At global scope: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/stack.h:26, from art/runtime/verifier/method_verifier.cc:64: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/verifier/verifier_deps.h:30: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/compiler/debug/method_debug_info.h:24, from art/compiler/debug/debug_info.h:23, from art/dex2oat/linker/elf_writer.h:29: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/art_method.h:23: art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/compiler/debug/method_debug_info.h:24, from art/compiler/debug/debug_info.h:23, from art/dex2oat/linker/oat_writer.h:31: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/dex/dex_to_dex_compiler.h:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ Install: out/host/linux-x86/lib64/libart-dexlayout.so In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/dex2oat/dex/dex_to_dex_compiler.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/base/mutex.h:31, from art/compiler/utils/swap_space.h:30, from art/compiler/driver/compiled_method_storage.h:28, from art/dex2oat/linker/multi_oat_relative_patcher.cc:23: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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/dex_cache.h:20: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/dex/dex_to_dex_compiler.h:27: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/base/locks.h:25, from art/runtime/gc_root.h:20, from art/runtime/art_method.h:38, from art/dex2oat/linker/arm/relative_patcher_thumb2.cc:22: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/gc_root.h:22: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/dex2oat/dex/dex_to_dex_compiler.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ In file included from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/dex/dex_to_dex_compiler.h:27, from art/dex2oat/driver/compiler_driver.h:38: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/dex2oat/dex/dex_to_dex_compiler.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/dex2oat/linker/arm/relative_patcher_thumb2.cc:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/dex2oat/dex/dex_to_dex_compiler.h:27, from art/dex2oat/driver/compiler_driver.h:38: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle.h:28, from art/dex2oat/dex/dex_to_dex_compiler.h:28: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/dex2oat/linker/image_writer.h:46: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/object.h:20, from art/runtime/mirror/class.h:31, from art/dex2oat/linker/oat_writer.h:37: art/libartbase/base/atomic.h:39:12: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 39 | Atomic() : std::atomic(T()) { } | ^ art/libartbase/base/atomic.h:39:12: note: remove the '< >' art/libartbase/base/atomic.h:41:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 41 | explicit Atomic(T value) : std::atomic(value) { } | ^ art/libartbase/base/atomic.h:41:22: note: remove the '< >' In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/object.h:25: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/runtime/oat_file.h:38, from art/dex2oat/linker/image_writer.h:47: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/libdexfile/dex/method_reference.h:22, from art/compiler/dex/verification_results.h:28, from art/dex2oat/dex/quick_compiler_callbacks.cc:19: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/entrypoints/quick/quick_entrypoints_enum.h:22, from art/dex2oat/linker/arm64/relative_patcher_arm64.cc:26: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:29: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/quick/quick_jni_entrypoints.cc:21: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36, from art/runtime/thread-current-inl.h:20, from art/dex2oat/linker/elf_writer_quick.cc:38: art/runtime/mirror/object_reference.h:167:34: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 167 | CompressedReference() REQUIRES_SHARED(Locks::mutator_lock_) | ^ art/runtime/mirror/object_reference.h:167:34: note: remove the '< >' In file included from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23, from art/runtime/art_method-inl.h:26, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/dex2oat/linker/image_writer.cc:29: art/libdexfile/dex/dex_file.h: At global scope: art/libdexfile/dex/dex_file.h:981:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:968:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 968 | std::ostream& operator<<(std::ostream& os, const EncodedArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:996:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' in same scope [-Wredundant-decls] 996 | std::ostream& operator<<(std::ostream& os, const CallSiteArrayValueIterator::ValueType& code); | ^~~~~~~~ art/libdexfile/dex/dex_file.h:981:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const EncodedArrayValueIterator::ValueType&)' 981 | std::ostream& operator<<(std::ostream& os, const EncodedStaticFieldValueIterator::ValueType& code); | ^~~~~~~~ In file included from art/runtime/thread.h:37: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/verifier/method_verifier.h:28: art/libartbase/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:233:18: required from here 233 | ProtectMemory(ptr, RegisterLine::ComputeSize(ptr->NumRegs())); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:242: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] 242 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/verifier/method_verifier.h:36: art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ art/libartbase/base/scoped_arena_containers.h:249: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] 249 | memset(ptr, kMagicFill, size); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/verifier/register_line.h:66:7: note: 'class art::verifier::RegisterLine' declared here 66 | class RegisterLine { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_field-inl.h:28, from art/runtime/class_linker-inl.h:22, from art/runtime/art_method-inl.h:24, from art/dex2oat/linker/oat_writer.cc:24: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/dex2oat/dex/dex_to_dex_compiler.cc:22: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/entrypoints/entrypoint_utils-inl.h:36, from art/runtime/entrypoints/quick/quick_alloc_entrypoints.cc:24: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? 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:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/thread.h:37, from art/runtime/thread-current-inl.h:20, from art/runtime/obj_ptr-inl.h:24, from art/runtime/gc_root-inl.h:24, from art/runtime/art_method-inl.h:32, from art/runtime/class_linker-inl.h:23, from art/runtime/art_field-inl.h:24, from art/dex2oat/driver/compiler_driver.cc:32: art/runtime/interpreter/interpreter_cache.h:90:26: warning: ignoring attributes on template argument 'art::InterpreterCache::Entry' {aka 'std::pair'} [-Wignored-attributes] 90 | std::array data_; | ^ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack::TaggedTopQuickFrame art::ManagedStack::tagged_top_quick_frame_' 167 | TaggedTopQuickFrame tagged_top_quick_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h: In member function 'void art::ManagedStack::PushManagedStackFragment(art::ManagedStack*)': art/runtime/managed_stack.h:55:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class art::ManagedStack'; use assignment or value-initialization instead [-Wclass-memaccess] 55 | memset(this, 0, sizeof(ManagedStack)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/managed_stack.h:44:17: note: 'class art::ManagedStack' declared here 44 | class PACKED(4) ManagedStack { | ^~~~~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object-inl.h:22: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: ignoring packed attribute because of unpacked non-POD field 'std::atomic art::Thread::tls_32bit_sized_values::use_mterp' 1574 | std::atomic use_mterp; | ^~~~~~~~~ art/runtime/thread.h:1617:18: warning: ignoring packed attribute because of unpacked non-POD field 'art::ManagedStack art::Thread::tls_ptr_sized_values::managed_stack' 1617 | ManagedStack managed_stack; | ^~~~~~~~~~~~~ art/runtime/thread.h:1657:7: warning: ignoring packed attribute because of unpacked non-POD field 'art::Thread::tls_ptr_sized_values::DepsOrStackTraceSample art::Thread::tls_ptr_sized_values::deps_or_stack_trace_sample' 1657 | } deps_or_stack_trace_sample; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/quick/quick_throw_entrypoints.cc:23: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/stack.h:26, from art/runtime/nth_caller_visitor.h:22, from art/runtime/entrypoints/entrypoint_utils-inl.h:41: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ art/runtime/interpreter/interpreter_common.h:616:6: warning: redundant redeclaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' in same scope [-Wredundant-decls] 616 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/interpreter/interpreter_common.h:39: art/runtime/common_dex_operations.h:51:8: note: previous declaration of 'void art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, uint16_t, art::JValue*)' 51 | void ArtInterpreterToCompiledCodeBridge(Thread* self, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/dex2oat/linker/oat_writer.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/dex2oat/linker/arm64/relative_patcher_arm64.cc:33: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/art_method-inl.h: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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/dex2oat/linker/image_writer.h:46: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from /usr/include/c++/15.2.0/atomic:52, from art/libartbase/base/atomic.h:21: In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = unsigned int]', inlined from 'T art::Atomic::LoadJavaData() const [with T = unsigned int]' at art/libartbase/base/atomic.h:51:22, inlined from 'MirrorType* art::mirror::HeapReference::AsMirrorPtr() const [with bool kIsVolatile = false; MirrorType = art::mirror::String]' at art/runtime/mirror/object_reference.h:119:35, inlined from 'static MirrorType* art::ReadBarrier::Barrier(art::mirror::Object*, art::MemberOffset, art::mirror::HeapReference*) [with MirrorType = art::mirror::String; bool kIsVolatile = false; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier; bool kAlwaysUpdateField = false]' at art/runtime/read_barrier-inl.h:102:55, inlined from 'T* art::mirror::Object::GetFieldObject(art::MemberOffset) [with T = art::mirror::String; art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier; bool kIsVolatile = false]' at art/runtime/mirror/object-inl.h:608:71, inlined from 'art::ObjPtr art::mirror::DexCache::GetLocation()' at art/runtime/mirror/dex_cache-inl.h:441:32, inlined from 'void art::ClassLinker::RegisterDexFileLocked(const art::DexFile&, art::ObjPtr, art::ObjPtr)' at art/runtime/class_linker.cc:3819:64: /usr/include/c++/15.2.0/bits/atomic_base.h:501:31: warning: 'unsigned int __atomic_load_4(const volatile void*, int)' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 501 | return __atomic_load_n(&_M_i, int(__m)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In member function 'void art::ClassLinker::RegisterDexFileLocked(const art::DexFile&, art::ObjPtr, art::ObjPtr)': cc1plus: note: destination object is likely at address zero In file included from art/runtime/art_method-inl.h: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/art_method.h:38, from art/runtime/art_method-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/gc/space/dlmalloc_space-inl.h:21, from art/runtime/gc/heap-inl.h:30, from art/runtime/mirror/array-alloc-inl.h:28, from art/runtime/mirror/object_array-alloc-inl.h:22, from art/dex2oat/linker/image_writer.cc:72: art/runtime/gc/allocator/dlmalloc.h: At global scope: art/runtime/gc/allocator/dlmalloc.h:35:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas] 35 | #pragma GCC diagnostic ignored "-Wnull-pointer-arithmetic" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_utils.h:23, from art/libartbase/base/bit_vector.h:24, from art/dex2oat/dex/dex_to_dex_compiler.h:24: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ art/runtime/gc/allocator/dlmalloc.h:35:32: note: did you mean '-Wno-pointer-arith'? In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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/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, from art/dex2oat/linker/image_writer.h:43: art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/dex2oat/linker/arm/relative_patcher_thumb2.cc:29: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/dex2oat/linker/arm/relative_patcher_thumb2.cc: In member function 'virtual uint32_t art::linker::Thumb2RelativePatcher::MaxPositiveDisplacement(const art::linker::ArmBaseRelativePatcher::ThunkKey&)': art/dex2oat/linker/arm/relative_patcher_thumb2.cc:134:1: warning: control reaches end of non-void function [-Wreturn-type] 134 | } | ^ art/dex2oat/linker/arm/relative_patcher_thumb2.cc: In member function 'virtual uint32_t art::linker::Thumb2RelativePatcher::MaxNegativeDisplacement(const art::linker::ArmBaseRelativePatcher::ThunkKey&)': art/dex2oat/linker/arm/relative_patcher_thumb2.cc:143:1: warning: control reaches end of non-void function [-Wreturn-type] 143 | } | ^ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/array_ref.h:23, from art/dex2oat/driver/compiler_driver.h:26: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/runtime/mirror/object-inl.h:26, from art/runtime/gc/space/region_space-inl.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/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222: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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ In file included from art/libartbase/base/atomic.h:25: art/runtime/subtype_check_info.h: In static member function 'static art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateRoot()': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' 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/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ 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/runtime/subtype_check_info.h:204:5: note: in expansion of macro 'DCHECK_EQ' 204 | DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); | ^~~~~~~~~ In file included from art/runtime/subtype_check.h:21, from art/runtime/mirror/class-inl.h:41, from art/dex2oat/dex/quick_compiler_callbacks.cc:21: art/runtime/subtype_check_info.h: In member function 'art::SubtypeCheckInfo art::SubtypeCheckInfo::CreateChild(bool)': art/runtime/subtype_check_info.h:222:55: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 222 | << "Unexpected bitstring state: " << GetState(); | ^ art/runtime/subtype_check_info.h:222:55: 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] libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:234:5: note: in expansion of macro 'DCHECK_NE' 234 | DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ 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:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h:235:5: note: in expansion of macro 'DCHECK_NE' 235 | DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); | ^~~~~~~~~ art/dex2oat/linker/image_writer.cc: In member function 'void art::linker::ImageWriter::CopyAndFixupObject(art::mirror::Object*)': art/dex2oat/linker/image_writer.cc:3001: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] 3001 | memcpy(dst, src, n); | ~~~~~~^~~~~~~~~~~~~ art/runtime/mirror/object.h:76:24: note: 'class art::mirror::Object' declared here 76 | class MANAGED LOCKABLE Object { | ^~~~~~ art/runtime/mirror/class-inl.h: In member function 'bool art::mirror::Class::IsSubClass(art::ObjPtr)': libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::Result' 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/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ art/dex2oat/linker/image_writer.cc: In member function 'void art::linker::ImageWriter::CopyAndFixupMethod(art::ArtMethod*, art::ArtMethod*, size_t)': art/dex2oat/linker/image_writer.cc:3421: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] 3421 | memcpy(copy, orig, ArtMethod::Size(target_ptr_size_)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/art_method.h:71:7: note: 'class art::ArtMethod' declared here 71 | class ArtMethod final { | ^~~~~~~~~ In file included from art/runtime/art_method-inl.h: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/art_field.h:23, from art/runtime/art_field-inl.h:20: art/runtime/gc_root.h:186:7: note: 'class art::GcRoot' declared here 186 | class GcRoot { | ^~~~~~ In file included from art/runtime/dex/dex_file_annotations.h:22, from art/runtime/art_method-inl.h:28: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:101:50: required from here 101 | return GetStrings()[StringSlotIndex(string_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:161:52: required from here 161 | return GetResolvedTypes()[TypeSlotIndex(type_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/dex_cache-inl.h:197:65: required from here 197 | return GetResolvedMethodTypes()[MethodTypeSlotIndex(proto_idx)].load( | ^ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/dex2oat/linker/arm64/relative_patcher_arm64.cc:30: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:346:23: required from here 346 | SetFieldPtr(StringsOffset(), strings); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/dex2oat/linker/arm64/relative_patcher_arm64.cc: In function 'bool art::linker::{anonymous}::IsAdrpPatch(const art::linker::LinkerPatch&)': art/dex2oat/linker/arm64/relative_patcher_arm64.cc:73:1: warning: control reaches end of non-void function [-Wreturn-type] 73 | } | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:362:23: required from here 362 | SetFieldPtr(ResolvedTypesOffset(), resolved_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/dex2oat/linker/arm64/relative_patcher_arm64.cc: In member function 'virtual uint32_t art::linker::Arm64RelativePatcher::MaxPositiveDisplacement(const art::linker::ArmBaseRelativePatcher::ThunkKey&)': art/dex2oat/linker/arm64/relative_patcher_arm64.cc:335:1: warning: control reaches end of non-void function [-Wreturn-type] 335 | } | ^ art/dex2oat/linker/arm64/relative_patcher_arm64.cc: In member function 'virtual uint32_t art::linker::Arm64RelativePatcher::MaxNegativeDisplacement(const art::linker::ArmBaseRelativePatcher::ThunkKey&)': art/dex2oat/linker/arm64/relative_patcher_arm64.cc:344:1: warning: control reaches end of non-void function [-Wreturn-type] 344 | } | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/15.2.0/atomic:206:5: required from 'constexpr const int std::atomic >::_S_min_alignment' 206 | = (sizeof(_Tp) & (sizeof(_Tp) - 1)) || sizeof(_Tp) > 16 | ^~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:210:11: required from 'constexpr const int std::atomic >::_S_alignment' 210 | = _S_min_alignment > alignof(_Tp) ? _S_min_alignment : alignof(_Tp); | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.0/atomic:212:33: required from 'struct std::atomic >' 212 | alignas(_S_alignment) _Tp _M_i; | ^~~~ art/runtime/mirror/object.h:579: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 >*]' 579 | field_offset, reinterpret_cast32(new_value)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ art/runtime/mirror/object.h:556: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 >*]' 556 | SetFieldPtrWithSize( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 557 | field_offset, new_value, kRuntimePointerSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:394:23: required from here 394 | SetFieldPtr(ResolvedMethodTypesOffset(), resolved_method_types); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 50 | GcRoot object; | ^~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ In file included from art/runtime/oat_quick_method_header.h:24, from art/dex2oat/linker/oat_writer.cc:64: art/runtime/stack_map.h: At global scope: art/runtime/stack_map.h:53:15: warning: redundant redeclaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' in same scope [-Wredundant-decls] 53 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/stack_map.h:30: art/runtime/dex_register_location.h:89:15: note: previous declaration of 'std::ostream& art::operator<<(std::ostream&, const DexRegisterLocation&)' 89 | std::ostream& operator<<(std::ostream& stream, const DexRegisterLocation& reg); | ^~~~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h:26, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34: art/runtime/runtime.h: At global scope: art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetNonStandardExitsEnabled()::]', declared using local type 'art::Runtime::SetNonStandardExitsEnabled()::', is used but not defined here [-Wc++20-extensions] 710 | static void DoAndMaybeSwitchInterpreter(Action lamda); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:710:15: warning: 'static void art::Runtime::DoAndMaybeSwitchInterpreter(Action) [with Action = art::Runtime::SetAsyncExceptionsThrown()::]', declared using local type 'art::Runtime::SetAsyncExceptionsThrown()::', is used but not defined here [-Wc++20-extensions] art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::mirror::Class*]': art/runtime/subtype_check.h:475:54: required from 'static void art::SubtypeCheck::WriteSubtypeCheckBits(ClassPtr, const art::SubtypeCheckBits&) [with ClassPtr = art::mirror::Class*]' 475 | SubtypeCheckBitsAndStatus old_value = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:282:26: required from 'static art::SubtypeCheckInfo::State art::SubtypeCheck::ForceUninitialize(ClassPtr) [with ClassPtr = art::mirror::Class*]' 282 | WriteSubtypeCheckBits(klass, scb_uninitialized); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ art/dex2oat/linker/image_writer.cc:3167:52: required from here 3167 | SubtypeCheck::ForceUninitialize(copy); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/image.h: In member function 'art::ImageSection& art::ImageHeader::GetImageSection(ImageSections)': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:272:5: note: in expansion of macro 'DCHECK_LT' 272 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/image.h: In member function 'const art::ImageSection& art::ImageHeader::GetImageSection(ImageSections) const': libbase/include/android-base/logging.h:266:67: warning: passing 'art::ImageHeader::ImageSections' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ 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:277:24: note: in expansion of macro 'CHECK_OP' 277 | #define CHECK_LT(x, y) CHECK_OP(x, y, < ) | ^~~~~~~~ libbase/include/android-base/logging.h:337:40: note: in expansion of macro 'CHECK_LT' 337 | if (::android::base::kEnableDChecks) CHECK_LT(x, y) | ^~~~~~~~ art/runtime/image.h:277:5: note: in expansion of macro 'DCHECK_LT' 277 | DCHECK_LT(static_cast(index), kSectionCount); | ^~~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/dex2oat/driver/compiler_driver.cc: In member function 'bool art::CompilerDriver::FastVerify(jobject, const std::vector&, art::TimingLogger*, art::VerificationResults*)': 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/dex2oat/driver/compiler_driver.cc:1793:11: note: in expansion of macro 'CHECK_EQ' 1793 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess) << ref.dex_file->GetLocation(); | ^~~~~~~~ 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/dex2oat/driver/compiler_driver.cc:1793:11: note: in expansion of macro 'CHECK_EQ' 1793 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess) << ref.dex_file->GetLocation(); | ^~~~~~~~ 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/dex2oat/driver/compiler_driver.cc:1793:11: note: in expansion of macro 'CHECK_EQ' 1793 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess) << ref.dex_file->GetLocation(); | ^~~~~~~~ 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/dex2oat/driver/compiler_driver.cc:1793:11: note: in expansion of macro 'CHECK_EQ' 1793 | CHECK_EQ(result, ClassStateTable::kInsertResultSuccess) << ref.dex_file->GetLocation(); | ^~~~~~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ art/runtime/subtype_check.h: In instantiation of 'static art::SubtypeCheckBitsAndStatus art::SubtypeCheck::ReadField(ClassPtr) [with ClassPtr = art::ObjPtr]': art/runtime/subtype_check.h:572:66: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr, size_t) [with ClassPtr = art::ObjPtr; size_t = long unsigned int]' 572 | SubtypeCheckBitsAndStatus current_bits_and_status = ReadField(klass); | ~~~~~~~~~^~~~~~~ art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' 565 | return GetSubtypeCheckInfo(klass, klass->Depth()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' 355 | SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ art/runtime/mirror/class-inl.h:575:82: required from here 575 | SubtypeCheckInfo::Result sc_result = SubtypeCheck>::IsSubtypeOf(dis, klass); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ art/runtime/subtype_check.h:455:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'union art::SubtypeCheckBitsAndStatus' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 455 | memcpy(&tmp, &int32_data, sizeof(tmp)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/subtype_check_bits_and_status.h:20, from art/runtime/subtype_check.h:20: art/runtime/subtype_check_bits_and_status.h:70:24: note: 'union art::SubtypeCheckBitsAndStatus' declared here 70 | BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/bit_struct.h:278:11: note: in definition of macro 'BITSTRUCT_DEFINE_START' 278 | union name { /* NOLINT */ \ | ^~~~ 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:2440:41: art/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc:2329:29: warning: 'cookie' may be used uninitialized [-Wmaybe-uninitialized] 2329 | 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:2389:12: note: 'cookie' was declared here 2389 | uint32_t cookie; | ^~~~~~ In constructor 'art::ParseStringList::ParseStringList(std::vector >&&) [with char Separator = ':']', inlined from 'static art::ParseStringList art::ParseStringList::Split(const std::string&) [with char Separator = ':']' at art/cmdline/cmdline_types.h:386:54, inlined from 'art::CmdlineType >::Result art::CmdlineType >::Parse(const std::string&) [with char Separator = ':']' at art/cmdline/cmdline_types.h:402:61, inlined from 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<':'>]' at art/cmdline/detail/cmdline_parse_argument_detail.h:449:30: art/cmdline/cmdline_types.h:365:63: warning: 'SR.17635' may be used uninitialized [-Wmaybe-uninitialized] 365 | explicit ParseStringList(std::vector&& list) : list_(list) {} | ^~~~~~~~~~~ art/cmdline/cmdline_types.h: In member function 'art::CmdlineResult art::detail::CmdlineParseArgument::ParseArgumentSingle(const std::string&) [with TArg = art::ParseStringList<':'>]': art/cmdline/cmdline_types.h:402:61: note: 'SR.17635' was declared here 402 | return Result::Success(ParseStringList::Split(args)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ art/runtime/class_linker.cc: In member function 'art::ObjPtr art::ClassLinker::FindClass(art::Thread*, const char*, art::Handle)': art/runtime/class_linker.cc:3068:3: warning: 'descriptor_equals' may be used uninitialized [-Wmaybe-uninitialized] 3068 | if (UNLIKELY(!descriptor_equals)) { | ^~ art/runtime/class_linker.cc:2937:8: note: 'descriptor_equals' was declared here 2937 | bool descriptor_equals; | ^~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc: In member function 'art::ObjPtr art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::dex::MethodHandleItem&, art::ArtMethod*)': art/runtime/class_linker.cc:9027:42: warning: 'kind' may be used uninitialized [-Wmaybe-uninitialized] 9027 | return mirror::MethodHandleImpl::Create(self, target, kind, method_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc:8908:30: note: 'kind' was declared here 8908 | mirror::MethodHandle::Kind kind; | ^~~~ In file included from libbase/include/android-base/logging.h:64: art/runtime/class_linker.cc:8958:25: warning: 'is_put' may be used uninitialized [-Wmaybe-uninitialized] 8958 | if (UNLIKELY(is_put && target_field->IsFinal())) { libbase/include/android-base/macros.h:84:49: note: in definition of macro 'UNLIKELY' 84 | #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false )) | ^~~ art/runtime/class_linker.cc:8909:8: note: 'is_put' was declared here 8909 | bool is_put; | ^~~~~~ art/runtime/class_linker.cc:8950:19: warning: 'is_static' may be used uninitialized [-Wmaybe-uninitialized] 8950 | ResolveField(method_handle.field_or_method_idx_, referrer, is_static); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc:8910:8: note: 'is_static' was declared here 8910 | bool is_static; | ^~~~~~~~~ In file included from art/runtime/class_linker.cc:112: In static member function 'static art::ObjPtr > art::mirror::ObjectArray::Alloc(art::Thread*, art::ObjPtr, int32_t) [with T = art::mirror::Class]', inlined from 'art::ObjPtr art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::dex::MethodHandleItem&, art::ArtMethod*)' at art/runtime/class_linker.cc:8969:72: art/runtime/mirror/object_array-alloc-inl.h:57:15: warning: 'num_params' may be used uninitialized [-Wmaybe-uninitialized] 57 | return Alloc(self, | ~~~~~^~~~~~ 58 | object_array_class, | ~~~~~~~~~~~~~~~~~~~ 59 | length, | ~~~~~~~ 60 | Runtime::Current()->GetHeap()->GetCurrentAllocator()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/class_linker.cc: In member function 'art::ObjPtr art::ClassLinker::ResolveMethodHandleForField(art::Thread*, const art::dex::MethodHandleItem&, art::ArtMethod*)': art/runtime/class_linker.cc:8911:11: note: 'num_params' was declared here 8911 | int32_t num_params; | ^~~~~~~~~~ host StaticLib: libart-dex2oat (out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/libart-dex2oat.a) host SharedLib: libart (out/host/linux-x86/obj/lib/libart.so) 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) Install: out/host/linux-x86/lib64/libart.so host SharedLib: libopenjdkjvm (out/host/linux-x86/obj/lib/libopenjdkjvm.so) host SharedLib: libart-compiler (out/host/linux-x86/obj/lib/libart-compiler.so) host SharedLib: libopenjdk (out/host/linux-x86/obj/lib/libopenjdk.so) Install: out/host/linux-x86/lib64/libopenjdkjvm.so Install: out/host/linux-x86/lib64/libopenjdk.so host Executable: dex2oat (out/host/linux-x86/obj/EXECUTABLES/dex2oat_intermediates/dex2oat) Install: out/host/linux-x86/lib64/libart-compiler.so Install: out/host/linux-x86/bin/dex2oat 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 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/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 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 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 host Java: junit-runner-hostdex (out/host/common/obj/JAVA_LIBRARIES/junit-runner-hostdex_intermediates/classes) 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. Copying: out/host/common/obj/JAVA_LIBRARIES/junit-runner-hostdex_intermediates/classes-jarjar.jar Copying: out/host/common/obj/JAVA_LIBRARIES/junit-runner-hostdex_intermediates/classes.jar target Dex: junit-runner-hostdex 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: junit-runner-hostdex (out/host/common/obj/JAVA_LIBRARIES/junit-runner-hostdex_intermediates/javalib.jar) Host Jar: wolfssljni-hostdex (out/host/common/obj/JAVA_LIBRARIES/wolfssljni-hostdex_intermediates/javalib.jar) Install: out/host/linux-x86/framework/junit-runner-hostdex.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. 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 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/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 ============================================ 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=armv8 TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=arm64 HOST_OS=linux HOST_OS_EXTRA=Linux-6.12.46-0-lts-aarch64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ including ./adb/Android.mk ... including ./art/adbconnection/Android.mk ... including ./art/benchmark/Android.mk ... including ./art/build/Android.mk ... including ./art/cmdline/Android.mk ... including ./art/compiler/Android.mk ... including ./art/dalvikvm/Android.mk ... including ./art/dex2oat/Android.mk ... including ./art/dexdump/Android.mk ... including ./art/dexlayout/Android.mk ... including ./art/dexlist/Android.mk ... including ./art/dexoptanalyzer/Android.mk ... including ./art/disassembler/Android.mk ... including ./art/dt_fd_forward/Android.mk ... including ./art/imgdiag/Android.mk ... including ./art/libartbase/Android.mk ... including ./art/libartpalette/Android.mk ... including ./art/libdexfile/Android.mk ... including ./art/libelffile/Android.mk ... including ./art/libprofile/Android.mk ... including ./art/oatdump/Android.mk ... including ./art/openjdkjvm/Android.mk ... including ./art/openjdkjvmti/Android.mk ... including ./art/profman/Android.mk ... including ./art/runtime/Android.mk ... including ./art/sigchainlib/Android.mk ... including ./art/simulator/Android.mk ... including ./art/tools/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-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/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/wolfssljni/Android.mk ... including ./incfs/Android.mk ... including ./libandroidfw/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 ./libziparchive/Android.mk ... including ./prebuilts/misc/common/jarjar/Android.mk ... including ./system/core/Android.mk ... Export includes file: adb/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libadbd_intermediates/export_includes Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libadbd_intermediates/import_includes Export includes file: adb/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/adbd_intermediates/export_includes Install: out/host/linux-x86/bin/acp Notice file: adb/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//bin/adbd.txt Notice file: adb/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libadbd.a.txt Import includes file: out/host/linux-x86/obj/EXECUTABLES/adbd_intermediates/import_includes host C++: libadbd <= adb/adb.cpp host C++: libadbd <= adb/adb_io.cpp host C++: libadbd <= adb/adb_listeners.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libadbd <= adb/adb_utils.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libadbd <= adb/sockets.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libadbd <= adb/transport.cpp host C++: libadbd <= adb/transport_local.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: libadbd <= adb/fdevent.cpp host C++: libadbd <= adb/jdwp_service.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: adbd <= adb/adb_main.cpp host C++: adbd <= adb/services.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: adbd <= adb/file_sync_service.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: adbd <= adb/framebuffer_service.cpp host C++: adbd <= adb/remount_service.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ host C++: adbd <= adb/set_verity_enable_state_service.cpp cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-Wno-implicit-function-declaration' is valid for C/ObjC but not for C++ adb/jdwp_service.cpp: In function 'asocket* create_jdwp_service_socket()': adb/jdwp_service.cpp:623:58: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 623 | JdwpSocket* s = reinterpret_cast(calloc(sizeof(*s), 1)); | ^~~~~~~~~~ adb/jdwp_service.cpp:623:58: note: earlier argument should specify number of elements, later size of each element adb/jdwp_service.cpp: In function 'asocket* create_jdwp_tracker_service_socket()': adb/jdwp_service.cpp:716:60: warning: 'void* calloc(size_t, size_t)' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 716 | JdwpTracker* t = reinterpret_cast(calloc(sizeof(*t), 1)); | ^~~~~~~~~~ adb/jdwp_service.cpp:716:60: note: earlier argument should specify number of elements, later size of each element In file included from libbase/include/base/file.h:26, from adb/services.cpp:21: libbase/include/android-base/unique_fd.h:78:57: warning: 'clang::reinitializes' scoped attribute directive ignored [-Wattributes] 78 | [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); } | ^ host StaticLib: libadbd (out/host/linux-x86/obj/STATIC_LIBRARIES/libadbd_intermediates/libadbd.a) host Executable: adbd (out/host/linux-x86/obj/EXECUTABLES/adbd_intermediates/adbd) Install: out/host/linux-x86/bin/adbd >>> art_standalone: Entering fakeroot... libfakeroot internal error: payload not recognized! ============================================ 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=armv8 TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=arm64 HOST_OS=linux HOST_OS_EXTRA=Linux-6.12.46-0-lts-aarch64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ including ./adb/Android.mk ... including ./art/adbconnection/Android.mk ... including ./art/benchmark/Android.mk ... including ./art/build/Android.mk ... including ./art/cmdline/Android.mk ... including ./art/compiler/Android.mk ... including ./art/dalvikvm/Android.mk ... including ./art/dex2oat/Android.mk ... including ./art/dexdump/Android.mk ... including ./art/dexlayout/Android.mk ... including ./art/dexlist/Android.mk ... including ./art/dexoptanalyzer/Android.mk ... including ./art/disassembler/Android.mk ... including ./art/dt_fd_forward/Android.mk ... including ./art/imgdiag/Android.mk ... including ./art/libartbase/Android.mk ... including ./art/libartpalette/Android.mk ... including ./art/libdexfile/Android.mk ... including ./art/libelffile/Android.mk ... including ./art/libprofile/Android.mk ... including ./art/oatdump/Android.mk ... including ./art/openjdkjvm/Android.mk ... including ./art/openjdkjvmti/Android.mk ... including ./art/profman/Android.mk ... including ./art/runtime/Android.mk ... including ./art/sigchainlib/Android.mk ... including ./art/simulator/Android.mk ... including ./art/tools/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-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/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/wolfssljni/Android.mk ... including ./incfs/Android.mk ... including ./libandroidfw/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 ./libziparchive/Android.mk ... including ./prebuilts/misc/common/jarjar/Android.mk ... including ./system/core/Android.mk ... install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/dex/art/natives/ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libjavacore.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libnativehelper.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libopenjdk.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libopenjdkjvm.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libwolfssljni.so install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/art/ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libandroidfw.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libart.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libart-compiler.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libart-dexlayout.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libartbase.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libartpalette.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libbacktrace.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libbase.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libcutils.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libdexfile.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/liblog.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libnativebridge.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libprofile.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libsigchain.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libunwind.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libutils.so \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/lib64/libziparchive.so test -f /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dalvikvm && install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/bin /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dalvikvm || true test -f /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dalvikvm64 && install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/bin /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dalvikvm64 || true install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/bin /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dex2oat install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/bin /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/dx install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/dex/art/ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/apachehttp-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/apache-xml-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/bouncycastle-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/core-junit-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/core-libart-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/core-oj-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/hamcrest-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/junit-runner-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/okhttp-hostdex.jar \ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/wolfssljni-hostdex.jar install -D /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/common/obj/JAVA_LIBRARIES/core-all-hostdex_intermediates/classes.jar /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/core-all_classes.jar install -D /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/common/obj/JAVA_LIBRARIES/core-junit-hostdex_intermediates/classes.jar /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/core-junit_classes.jar install -D /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/common/obj/JAVA_LIBRARIES/junit-runner-hostdex_intermediates/classes.jar /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/junit-runner_classes.jar install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/java/ /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/framework/dx.jar install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/include/androidfw /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//libandroidfw/include/androidfw/androidfw_c_api.h # install pkg-config file mkdir -p /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/pkgconfig install -m644 art-standalone.pc /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/lib/pkgconfig/ ============================================ 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=armv8 TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=arm64 HOST_OS=linux HOST_OS_EXTRA=Linux-6.12.46-0-lts-aarch64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ including ./adb/Android.mk ... including ./art/adbconnection/Android.mk ... including ./art/benchmark/Android.mk ... including ./art/build/Android.mk ... including ./art/cmdline/Android.mk ... including ./art/compiler/Android.mk ... including ./art/dalvikvm/Android.mk ... including ./art/dex2oat/Android.mk ... including ./art/dexdump/Android.mk ... including ./art/dexlayout/Android.mk ... including ./art/dexlist/Android.mk ... including ./art/dexoptanalyzer/Android.mk ... including ./art/disassembler/Android.mk ... including ./art/dt_fd_forward/Android.mk ... including ./art/imgdiag/Android.mk ... including ./art/libartbase/Android.mk ... including ./art/libartpalette/Android.mk ... including ./art/libdexfile/Android.mk ... including ./art/libelffile/Android.mk ... including ./art/libprofile/Android.mk ... including ./art/oatdump/Android.mk ... including ./art/openjdkjvm/Android.mk ... including ./art/openjdkjvmti/Android.mk ... including ./art/profman/Android.mk ... including ./art/runtime/Android.mk ... including ./art/sigchainlib/Android.mk ... including ./art/simulator/Android.mk ... including ./art/tools/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-http/Android.mk ... including ./external/apache-xml/Android.mk ... including ./external/bouncycastle/Android.mk ... including ./external/fdlibm/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/wolfssljni/Android.mk ... including ./incfs/Android.mk ... including ./libandroidfw/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 ./libziparchive/Android.mk ... including ./prebuilts/misc/common/jarjar/Android.mk ... including ./system/core/Android.mk ... install -Dt /home/buildozer/aports/testing/art_standalone/pkg/art_standalone/usr/bin /home/buildozer/aports/testing/art_standalone/src/art_standalone-e78bf68917bcaaf58fef3960cd88793b3b7f39cc//out/host/linux-x86/bin/adbd >>> libandroidfw*: Running split function libandroidfw... 'usr/lib/art/libandroidfw.so' -> '/home/buildozer/aports/testing/art_standalone/pkg/libandroidfw/usr/lib/art/libandroidfw.so' >>> libandroidfw*: Preparing subpackage libandroidfw... >>> libandroidfw*: Stripping binaries >>> libandroidfw*: Running postcheck for libandroidfw >>> libandroidfw-dev*: Running split function libandroidfw_dev... 'usr/include/androidfw/androidfw_c_api.h' -> '/home/buildozer/aports/testing/art_standalone/pkg/libandroidfw-dev/usr/include/androidfw/androidfw_c_api.h' >>> libandroidfw-dev*: Preparing subpackage libandroidfw-dev... >>> libandroidfw-dev*: Stripping binaries >>> libandroidfw-dev*: Running postcheck for libandroidfw-dev >>> adbd*: Running split function adbd... 'usr/bin/adbd' -> '/home/buildozer/aports/testing/art_standalone/pkg/adbd/usr/bin/adbd' >>> adbd*: Preparing subpackage adbd... >>> adbd*: Stripping binaries >>> adbd*: Running postcheck for adbd >>> art_standalone-dev*: Running split function dev... 'usr/lib/pkgconfig' -> '/home/buildozer/aports/testing/art_standalone/pkg/art_standalone-dev/usr/lib/pkgconfig' 'usr/lib/java/core-all_classes.jar' -> '/home/buildozer/aports/testing/art_standalone/pkg/art_standalone-dev/usr/lib/java/core-all_classes.jar' 'usr/lib/java/dx.jar' -> '/home/buildozer/aports/testing/art_standalone/pkg/art_standalone-dev/usr/lib/java/dx.jar' 'usr/bin/dx' -> '/home/buildozer/aports/testing/art_standalone/pkg/art_standalone-dev/usr/bin/dx' >>> art_standalone-dev*: Preparing subpackage art_standalone-dev... >>> art_standalone-dev*: Stripping binaries >>> art_standalone-dev*: Running postcheck for art_standalone-dev >>> art_standalone-dbg*: Running split function dbg... >>> art_standalone-dbg*: Preparing subpackage art_standalone-dbg... >>> art_standalone-dbg*: Stripping binaries >>> art_standalone-dbg*: Running postcheck for art_standalone-dbg >>> art_standalone*: Running postcheck for art_standalone >>> art_standalone*: Preparing package art_standalone... >>> art_standalone*: Stripping binaries >>> art_standalone*: Scanning shared objects libfakeroot internal error: payload not recognized! >>> libandroidfw*: Scanning shared objects >>> libandroidfw-dev*: Scanning shared objects >>> adbd*: Scanning shared objects >>> art_standalone-dev*: Scanning shared objects >>> art_standalone-dbg*: Scanning shared objects >>> adbd*: Tracing dependencies... art_standalone so:libc.musl-aarch64.so.1 so:libstdc++.so.6 >>> adbd*: Package size: 130.9 KB >>> adbd*: Compressing data... >>> adbd*: Create checksum... >>> adbd*: Create adbd-0_git20251009-r0.apk >>> art_standalone-dbg*: Tracing dependencies... !adbd<0_git20251009-r0 !adbd>0_git20251009-r0 !art_standalone<0_git20251009-r0 !art_standalone>0_git20251009-r0 !libandroidfw<0_git20251009-r0 !libandroidfw>0_git20251009-r0 >>> art_standalone-dbg*: Package size: 372.7 MB >>> art_standalone-dbg*: Compressing data... >>> art_standalone-dbg*: Create checksum... >>> art_standalone-dbg*: Create art_standalone-dbg-0_git20251009-r0.apk >>> art_standalone-dev*: Tracing dependencies... art_standalone=0_git20251009-r0 bash vixl-dev pkgconfig >>> art_standalone-dev*: Package size: 9.3 MB >>> art_standalone-dev*: Compressing data... >>> art_standalone-dev*: Create checksum... >>> art_standalone-dev*: Create art_standalone-dev-0_git20251009-r0.apk >>> art_standalone*: Tracing dependencies... java-cacerts wolfssl-jni so:libatomic.so.1 so:libbsd.so.0 so:libc.musl-aarch64.so.1 so:libcrypto.so.3 so:libdl_bio.so.0 so:libexpat.so.1 so:libgcc_s.so.1 so:libicui18n.so.76 so:libicuuc.so.76 so:liblz4.so.1 so:liblzma.so.5 so:libstdc++.so.6 so:libvixl.so.5 so:libwolfssl.so.44 so:libz.so.1 >>> art_standalone*: Package size: 28.1 MB >>> art_standalone*: Compressing data... >>> art_standalone*: Create checksum... >>> art_standalone*: Create art_standalone-0_git20251009-r0.apk >>> libandroidfw-dev*: Tracing dependencies... libandroidfw >>> libandroidfw-dev*: Package size: 20.1 KB >>> libandroidfw-dev*: Compressing data... >>> libandroidfw-dev*: Create checksum... >>> libandroidfw-dev*: Create libandroidfw-dev-0_git20251009-r0.apk >>> libandroidfw*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libstdc++.so.6 so:libz.so.1 >>> libandroidfw*: Package size: 961.8 KB >>> libandroidfw*: Compressing data... >>> libandroidfw*: Create checksum... >>> libandroidfw*: Create libandroidfw-0_git20251009-r0.apk >>> art_standalone: Build complete at Thu, 08 Jan 2026 12:08:06 +0000 elapsed time 0h 3m 32s >>> art_standalone: Cleaning up srcdir >>> art_standalone: Cleaning up pkgdir >>> art_standalone: Cleaning up tmpdir >>> art_standalone: Uninstalling dependencies... ( 1/114) Purging .makedepends-art_standalone (20260108.120435) ( 2/114) Purging bash (5.3.3-r1) Executing bash-5.3.3-r1.pre-deinstall ( 3/114) Purging vixl-dev (8.0.0-r0) ( 4/114) Purging vixl (8.0.0-r0) ( 5/114) Purging bionic_translation-dev (0_git20251125-r0) ( 6/114) Purging bionic_translation (0_git20251125-r0) ( 7/114) Purging expat-dev (2.7.3-r0) ( 8/114) Purging expat (2.7.3-r0) ( 9/114) Purging icu-dev (76.1-r2) ( 10/114) Purging libbsd-dev (0.12.2-r0) ( 11/114) Purging libmd-dev (1.1.0-r0) ( 12/114) Purging libcap-dev (2.77-r0) ( 13/114) Purging linux-headers (6.18.3-r0) ( 14/114) Purging libpng-dev (1.6.53-r0) ( 15/114) Purging libselinux-dev (3.6-r1) ( 16/114) Purging libselinux (3.6-r1) ( 17/114) Purging libunwind-dev (1.8.1-r0) ( 18/114) Purging libucontext-dev (1.5-r0) ( 19/114) Purging libucontext (1.5-r0) ( 20/114) Purging libunwind (1.8.1-r0) ( 21/114) Purging lz4-dev (1.10.0-r0) ( 22/114) Purging openjdk8-jdk (8.472.08-r0) ( 23/114) Purging openssl-dev (3.5.4-r0) ( 24/114) Purging valgrind-dev (3.25.1-r2) ( 25/114) Purging wolfssl-jni-dev (5.8.4-r1) ( 26/114) Purging wolfssl-jni (5.8.4-r1) ( 27/114) Purging xz-dev (5.8.1-r0) ( 28/114) Purging xz (5.8.1-r0) ( 29/114) Purging zip (3.0-r13) ( 30/114) Purging unzip (6.0-r16) ( 31/114) Purging abuild-meson (1.10.0-r0) ( 32/114) Purging meson-pyc (1.10.0-r0) ( 33/114) Purging meson (1.10.0-r0) ( 34/114) Purging samurai (1.2-r7) ( 35/114) Purging python3-pyc (3.12.12-r0) ( 36/114) Purging python3-pycache-pyc0 (3.12.12-r0) ( 37/114) Purging pyc (3.12.12-r0) ( 38/114) Purging python3 (3.12.12-r0) ( 39/114) Purging gdbm (1.26-r0) ( 40/114) Purging icu (76.1-r2) ( 41/114) Purging icu-libs (76.1-r2) ( 42/114) Purging libsepol-dev (3.6-r1) ( 43/114) Purging libsepol (3.6-r1) ( 44/114) Purging mesa-egl (25.2.7-r3) ( 45/114) Purging mesa-gles (25.2.7-r3) ( 46/114) Purging mesa-gbm (25.2.7-r3) ( 47/114) Purging mesa (25.2.7-r3) ( 48/114) Purging mpdecimal (4.0.1-r0) ( 49/114) Purging musl-fts (1.2.7-r7) ( 50/114) Purging openjdk8-jre (8.472.08-r0) ( 51/114) Purging font-dejavu (2.37-r6) ( 52/114) Purging fontconfig (2.17.1-r0) ( 53/114) Purging encodings (1.1.0-r0) ( 54/114) Purging mkfontscale (1.2.3-r1) ( 55/114) Purging openjdk8-jre-base (8.472.08-r0) ( 56/114) Purging openjdk8-jre-lib (8.472.08-r0) ( 57/114) Purging java-common (1.0-r1) ( 58/114) Purging java-cacerts (1.1-r0) Executing java-cacerts-1.1-r0.pre-deinstall ( 59/114) Purging p11-kit-trust (0.25.5-r2) ( 60/114) Purging ca-certificates (20251003-r0) Executing ca-certificates-20251003-r0.post-deinstall ( 61/114) Purging nss (3.119.1-r0) ( 62/114) Purging p11-kit (0.25.5-r2) ( 63/114) Purging pcsc-lite-libs (2.4.0-r4) ( 64/114) Purging spirv-tools (1.4.321.0-r1) ( 65/114) Purging sqlite-libs (3.51.1-r0) ( 66/114) Purging wayland-libs-client (1.24.0-r0) ( 67/114) Purging alsa-lib (1.2.15.1-r0) ( 68/114) Purging pcre2-dev (10.47-r0) ( 69/114) Purging zlib-dev (1.3.1-r2) ( 70/114) Purging libpcre2-16 (10.47-r0) ( 71/114) Purging libpcre2-32 (10.47-r0) ( 72/114) Purging libedit-dev (20251016.3.1-r0) ( 73/114) Purging ncurses-dev (6.6_p20251231-r0) ( 74/114) Purging libncurses++ (6.6_p20251231-r0) ( 75/114) Purging libpanelw (6.6_p20251231-r0) ( 76/114) Purging bsd-compat-headers (0.7.2-r6) ( 77/114) Purging freetype (2.14.1-r1) ( 78/114) Purging giflib (5.2.2-r1) ( 79/114) Purging libdrm (2.4.131-r0) ( 80/114) Purging libpciaccess (0.18.1-r1) ( 81/114) Purging hwdata-pci (0.401-r0) ( 82/114) Purging icu-data-en (76.1-r2) ( 83/114) Purging krb5-libs (1.22.1-r0) ( 84/114) Purging krb5-conf (1.0-r2) ( 85/114) Purging keyutils-libs (1.6.3-r4) ( 86/114) Purging lcms2 (2.17-r0) ( 87/114) Purging libxi (1.8.2-r0) ( 88/114) Purging libxtst (1.2.5-r0) ( 89/114) Purging libxext (1.3.6-r2) ( 90/114) Purging libxrender (0.9.12-r0) ( 91/114) Purging libxcomposite (0.4.6-r5) ( 92/114) Purging libx11 (1.8.12-r1) ( 93/114) Purging libxcb (1.17.0-r1) ( 94/114) Purging libxdmcp (1.1.5-r1) ( 95/114) Purging libbsd (0.12.2-r0) ( 96/114) Purging libbz2 (1.0.8-r6) ( 97/114) Purging libcom_err (1.47.3-r0) ( 98/114) Purging libelf (0.194-r2) ( 99/114) Purging llvm21-libs (21.1.8-r0) (100/114) Purging libffi (3.5.2-r0) (101/114) Purging libfontenc (1.1.8-r0) (102/114) Purging libformw (6.6_p20251231-r0) (103/114) Purging libjpeg-turbo (3.1.3-r0) (104/114) Purging liblksctp (1.0.19-r5) (105/114) Purging libmd (1.1.0-r0) (106/114) Purging libmenuw (6.6_p20251231-r0) (107/114) Purging libpng (1.6.53-r0) (108/114) Purging libtasn1 (4.20.0-r0) (109/114) Purging libverto (0.3.2-r2) (110/114) Purging libxau (1.0.12-r0) (111/114) Purging libxml2 (2.13.9-r0) (112/114) Purging libxshmfence (1.3.3-r0) (113/114) Purging nspr (4.38.2-r0) (114/114) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r30.trigger OK: 432.7 MiB in 109 packages >>> art_standalone: Updating the testing/aarch64 repository index... >>> art_standalone: Signing the index...