>>> art_standalone: Building testing/art_standalone 0_git20240220-r1 (using abuild 3.12.0-r5) started Tue, 02 Apr 2024 07:45:30 +0000 >>> art_standalone: Checking sanity of /home/buildozer/aports/testing/art_standalone/APKBUILD... >>> art_standalone: Analyzing dependencies... >>> art_standalone: Installing for build: build-base wolfssl-jni bash bionic_translation-dev bsd-compat-headers expat-dev icu-dev java-common libbsd-dev libcap-dev libunwind-dev lz4-dev meson openjdk8-jdk openssl-dev python3 valgrind-dev wolfssl-jni-dev xz-dev zip zlib-dev (1/95) Installing wolfssl-jni (5.7.0-r0) (2/95) Installing readline (8.2.10-r0) (3/95) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (4/95) Installing mesa (24.0.3-r0) (5/95) Installing libxau (1.0.11-r3) (6/95) Installing libmd (1.1.0-r0) (7/95) Installing libbsd (0.12.2-r0) (8/95) Installing libxdmcp (1.1.5-r0) (9/95) Installing libxcb (1.16.1-r0) (10/95) Installing libx11 (1.8.7-r0) (11/95) Installing hwdata-pci (0.380-r0) (12/95) Installing libpciaccess (0.18.1-r0) (13/95) Installing libdrm (2.4.120-r0) (14/95) Installing libffi (3.4.6-r0) (15/95) Installing wayland-libs-server (1.22.0-r4) (16/95) Installing mesa-gbm (24.0.3-r0) (17/95) Installing mesa-glapi (24.0.3-r0) (18/95) Installing wayland-libs-client (1.22.0-r4) (19/95) Installing libxshmfence (1.3.2-r5) (20/95) Installing mesa-egl (24.0.3-r0) (21/95) Installing libucontext (1.2-r3) (22/95) Installing xz-libs (5.6.1-r2) (23/95) Installing libunwind (1.8.1-r0) (24/95) Installing bionic_translation (0_git20240202-r0) (25/95) Installing bionic_translation-dev (0_git20240202-r0) (26/95) Installing bsd-compat-headers (0.7.2-r6) (27/95) Installing expat (2.6.2-r0) (28/95) Installing expat-dev (2.6.2-r0) (29/95) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (30/95) Installing icu-libs (74.2-r0) (31/95) Installing icu (74.2-r0) (32/95) Installing icu-dev (74.2-r0) (33/95) Installing java-common (0.5-r0) (34/95) Installing linux-headers (6.6-r0) (35/95) Installing libmd-dev (1.1.0-r0) (36/95) Installing libbsd-dev (0.12.2-r0) (37/95) Installing libcap-dev (2.69-r1) (38/95) Installing libucontext-dev (1.2-r3) (39/95) Installing libunwind-dev (1.8.1-r0) (40/95) Installing lz4-dev (1.9.4-r5) (41/95) Installing samurai (1.2-r5) (42/95) Installing libbz2 (1.0.8-r6) (43/95) Installing gdbm (1.23-r1) (44/95) Installing mpdecimal (4.0.0-r0) (45/95) Installing libpanelw (6.4_p20240309-r0) (46/95) Installing sqlite-libs (3.45.2-r0) (47/95) Installing python3 (3.11.8-r0) (48/95) Installing python3-pycache-pyc0 (3.11.8-r0) (49/95) Installing pyc (3.11.8-r0) (50/95) Installing meson-pyc (1.4.0-r0) (51/95) Installing python3-pyc (3.11.8-r0) (52/95) Installing meson (1.4.0-r0) (53/95) Installing libpng (1.6.43-r0) (54/95) Installing freetype (2.13.2-r0) (55/95) Installing fontconfig (2.15.0-r0) (56/95) Installing encodings (1.0.7-r1) (57/95) Installing libfontenc (1.1.7-r4) (58/95) Installing mkfontscale (1.2.2-r5) (59/95) Installing font-dejavu (2.37-r5) (60/95) Installing libxcomposite (0.4.6-r4) (61/95) Installing libxext (1.3.6-r1) (62/95) Installing libxi (1.8.1-r3) (63/95) Installing libxrender (0.9.11-r4) (64/95) Installing libxtst (1.2.4-r5) (65/95) Installing alsa-lib (1.2.11-r0) (66/95) Installing giflib (5.2.2-r0) (67/95) Installing libjpeg-turbo (3.0.2-r0) (68/95) Installing openjdk8-jre-lib (8.402.06-r0) (69/95) Installing libtasn1 (4.19.0-r2) (70/95) Installing p11-kit (0.25.3-r0) (71/95) Installing p11-kit-trust (0.25.3-r0) (72/95) Installing java-cacerts (1.0-r1) (73/95) Installing nspr (4.35-r4) (74/95) Installing nss (3.99-r0) (75/95) Installing krb5-conf (1.0-r2) (76/95) Installing libcom_err (1.47.0-r5) (77/95) Installing keyutils-libs (1.6.3-r3) (78/95) Installing libverto (0.3.2-r2) (79/95) Installing krb5-libs (1.21.2-r0) (80/95) Installing lcms2 (2.16-r0) (81/95) Installing pcsc-lite-libs (2.0.1-r0) (82/95) Installing liblksctp (1.0.19-r5) (83/95) Installing openjdk8-jre-base (8.402.06-r0) (84/95) Installing openjdk8-jre (8.402.06-r0) (85/95) Installing openjdk8-jdk (8.402.06-r0) (86/95) Installing openssl-dev (3.2.1-r1) (87/95) Installing valgrind-dev (3.22.0-r1) (88/95) Installing wolfssl-jni-dev (5.7.0-r0) (89/95) Installing libintl (0.22.5-r0) (90/95) Installing xz (5.6.1-r2) (91/95) Installing xz-dev (5.6.1-r2) (92/95) Installing unzip (6.0-r14) (93/95) Installing zip (3.0-r12) (94/95) Installing zlib-dev (1.3.1-r0) (95/95) Installing .makedepends-art_standalone (20240402.074532) Executing busybox-1.36.1-r24.trigger Executing java-common-0.5-r0.trigger Executing fontconfig-2.15.0-r0.trigger Executing mkfontscale-1.2.2-r5.trigger Executing ca-certificates-20240226-r0.trigger OK: 606 MiB in 202 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-672e299f85cf91901ba107d90084fd67865f047a.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 77 53.1M 77 41.1M 0 0 48.0M 0 0:00:01 --:--:-- 0:00:01 48.0M 100 53.1M 100 53.1M 0 0 50.8M 0 0:00:01 0:00:01 --:--:-- 50.8M >>> art_standalone: Fetching https://distfiles.alpinelinux.org/distfiles/edge/art_standalone-672e299f85cf91901ba107d90084fd67865f047a.tar.gz >>> art_standalone: Checking sha512sums... art_standalone-672e299f85cf91901ba107d90084fd67865f047a.tar.gz: OK >>> art_standalone: Unpacking /var/cache/distfiles/edge/art_standalone-672e299f85cf91901ba107d90084fd67865f047a.tar.gz... ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=6.0.1 TARGET_PRODUCT=full TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_OS=linux HOST_OS_EXTRA=Linux-5.15.108-0-lts-x86_64-with HOST_BUILD_TYPE=release BUILD_ID=MOB30M OUT_DIR=out ============================================ Checking build tools versions... including ./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 ./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 ./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: system/core/libziparchive/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive_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/libcutils_intermediates/import_includes Export includes file: system/core/libutils/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libutils_intermediates/import_includes 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 Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_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 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 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 Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libunwind_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: system/core/libcutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libcutils.so.txt Notice file: system/core/libutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libutils.so.txt 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/bouncycastle/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//framework/bouncycastle-hostdex.jar.txt Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libwolfssljni_intermediates/import_includes Export includes file: external/wolfssljni/Android.mk -- out/host/linux-x86/obj/SHARED_LIBRARIES/libwolfssljni_intermediates/export_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libandroidfw_intermediates/import_includes 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 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 Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbase_intermediates/import_includes host C: libcutils <= system/core/libcutils/atomic.c host C: libcutils <= system/core/libcutils/hashmap.c host C: libcutils <= system/core/libcutils/native_handle.c host C: libcutils <= system/core/libcutils/config_utils.c host C: libcutils <= system/core/libcutils/load_file.c host C: libcutils <= system/core/libcutils/strlcpy.c host C: libcutils <= system/core/libcutils/open_memstream.c host C: libcutils <= system/core/libcutils/strdup16to8.c host C: libcutils <= system/core/libcutils/strdup8to16.c host C: libcutils <= system/core/libcutils/record_stream.c host C: libcutils <= system/core/libcutils/process_name.c host C: libcutils <= system/core/libcutils/threads.c host C: libcutils <= system/core/libcutils/sched_policy.c host C: libcutils <= system/core/libcutils/iosched_policy.c host C: libcutils <= system/core/libcutils/str_parms.c host C: libcutils <= system/core/libcutils/fs_config.c host C: libcutils <= system/core/libcutils/fs.c host C: libcutils <= system/core/libcutils/multiuser.c host C: libcutils <= system/core/libcutils/socket_inaddr_any_server.c host C: libcutils <= system/core/libcutils/socket_local_client.c host C: libcutils <= system/core/libcutils/socket_local_server.c 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_loopback_client.c system/core/liblog/fake_log_device.c: In function 'fake_writev': system/core/liblog/fake_log_device.c:324:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 324 | struct iovec* end = iov + iovcnt; | ^~~ system/core/liblog/fake_log_device.c:327:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 327 | if (w != iov->iov_len) { | ^~ host C: libcutils <= system/core/libcutils/socket_loopback_server.c system/core/liblog/logd_write.c: In function '__write_to_log_kernel': system/core/liblog/logd_write.c:39:44: warning: implicit declaration of function 'fakeLogWritev' [-Wimplicit-function-declaration] 39 | #define log_writev(filedes, vector, count) fakeLogWritev(filedes, vector, count) | ^~~~~~~~~~~~~ system/core/liblog/logd_write.c:92:15: note: in expansion of macro 'log_writev' 92 | ret = log_writev(log_fd, vec, nr); | ^~~~~~~~~~ system/core/liblog/logd_write.c: In function '__write_to_log_init': system/core/liblog/logd_write.c:38:35: warning: implicit declaration of function 'fakeLogOpen' [-Wimplicit-function-declaration] 38 | #define log_open(pathname, flags) fakeLogOpen(pathname, flags) | ^~~~~~~~~~~ system/core/liblog/logd_write.c:105:32: note: in expansion of macro 'log_open' 105 | log_fds[LOG_ID_MAIN] = log_open("/dev/"LOGGER_LOG_MAIN, O_WRONLY); | ^~~~~~~~ system/core/liblog/logd_write.c:40:28: warning: implicit declaration of function 'fakeLogClose' [-Wimplicit-function-declaration] 40 | #define log_close(filedes) fakeLogClose(filedes) | ^~~~~~~~~~~~ system/core/liblog/logd_write.c:114:13: note: in expansion of macro 'log_close' 114 | log_close(log_fds[LOG_ID_MAIN]); | ^~~~~~~~~ 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_network_client.c host C: libcutils <= system/core/libcutils/sockets.c host C: libcutils <= system/core/libcutils/ashmem-host.c host C: libcutils <= system/core/libcutils/trace-host.c host C: libcutils <= system/core/libcutils/dlmalloc_stubs.c Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libziparchive_intermediates/import_includes host C++: libutils <= system/core/libutils/BasicHashtable.cpp host C++: libutils <= system/core/libutils/CallStack.cpp host C++: libutils <= system/core/libutils/FileMap.cpp In file included from system/core/include/cutils/trace.h:100, from system/core/libcutils/trace-host.c:17: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libutils <= system/core/libutils/JenkinsHash.cpp host C++: libutils <= system/core/libutils/LinearTransform.cpp host C++: libutils <= system/core/libutils/Log.cpp host C++: libutils <= system/core/libutils/NativeHandle.cpp host C++: libutils <= system/core/libutils/Printer.cpp host C++: libutils <= system/core/libutils/ProcessCallStack.cpp host C++: libutils <= system/core/libutils/PropertyMap.cpp host C++: libutils <= system/core/libutils/RefBase.cpp host C++: libutils <= system/core/libutils/SharedBuffer.cpp host C++: libutils <= system/core/libutils/Static.cpp host C++: libutils <= system/core/libutils/StopWatch.cpp host C++: libutils <= system/core/libutils/String8.cpp host C++: libutils <= system/core/libutils/String16.cpp host C++: libutils <= system/core/libutils/SystemClock.cpp host C++: libutils <= system/core/libutils/Threads.cpp host C++: libutils <= system/core/libutils/Timers.cpp host C++: libutils <= system/core/libutils/Tokenizer.cpp host C++: libutils <= system/core/libutils/Unicode.cpp host C++: libutils <= system/core/libutils/VectorImpl.cpp host C++: libutils <= system/core/libutils/misc.cpp host C++: libutils <= system/core/libutils/Looper.cpp host C++: libartpalette <= art/libartpalette/system/palette_fake.cc 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 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 art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/import_includes Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/import_includes host C++: libnativebridge <= system/core/libnativebridge/native_bridge.cc In file included 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, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/runtime/base/locks.h:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/runtime/base/locks.h:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ system/core/libutils/Unicode.cpp: In function 'void utf32_codepoint_to_utf8(uint8_t*, char32_t, size_t)': system/core/libutils/Unicode.cpp:104:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 104 | case 4: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:105:9: note: here 105 | case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ^~~~ system/core/libutils/Unicode.cpp:105:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 105 | case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:106:9: note: here 106 | case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ^~~~ system/core/libutils/Unicode.cpp:106:81: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; | ~~~~~~~~^~~~~ system/core/libutils/Unicode.cpp:107:9: note: here 107 | case 1: *--dstP = (uint8_t)(srcChar | kFirstByteMark[bytes]); | ^~~~ In file included 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, from art/tools/cpp-define-generator/asm_defines.def:21, from art/tools/cpp-define-generator/asm_defines.cc:36: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/runtime/base/locks.h:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/tools/cpp-define-generator/globals.def:24: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from system/core/include/cutils/log.h:1, from system/core/libutils/VectorImpl.cpp:23: system/core/libutils/VectorImpl.cpp: In member function 'ssize_t android::VectorImpl::setCapacity(size_t)': external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:87:31: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ external/safe-iop/include/safe_iop.h:89:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:341:26: note: in expansion of macro 'safe_mul' 341 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_allocation_size, new_capacity, mItemSize)); | ^~~~~~~~ Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libbacktrace_intermediates/import_includes system/core/libutils/VectorImpl.cpp: In member function 'void* android::VectorImpl::_grow(size_t, size_t)': external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:87:7: note: in expansion of macro '__sio' 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:87:31: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 87 | (__sio(m)(smin)(__B) <= ((typeof(__B))0))) || \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:19: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:80:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 80 | ((typeof(_a))(~((typeof(_a)) 1 << ((sizeof(typeof(_a)) * CHAR_BIT) - 1)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smax' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:82:18: note: in expansion of macro '__sio' 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:82:4: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 82 | ((typeof(_a))(-__sio(m)(smax)(_a) - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_smin' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:89:7: note: in expansion of macro '__sio' 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ external/safe-iop/include/safe_iop.h:89:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 89 | (__sio(m)(smin)(__B) > ((typeof(__B))0)))) && \ | ^~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_assert' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_MACRO_type_enforce' external/safe-iop/include/safe_iop.h:72:37: note: in expansion of macro '__sio' 72 | #define OPAQUE_SAFE_IOP_PREFIX_m(x) __sio(MACRO_ ## x) | ^~~~~ external/safe-iop/include/safe_iop.h:70:18: note: in expansion of macro 'OPAQUE_SAFE_IOP_PREFIX_m' 70 | #define __sio(x) OPAQUE_SAFE_IOP_PREFIX_ ## x | ^~~~~~~~~~~~~~~~~~~~~~~ external/safe-iop/include/safe_iop.h:212:26: note: in expansion of macro '__sio' 212 | if (__sio(m)(assert)(__sio(m)(type_enforce)(__sio(var)(_a), \ | ^~~~~ system/core/libutils/VectorImpl.cpp:403:30: note: in expansion of macro 'safe_mul' 403 | LOG_ALWAYS_FATAL_IF(!safe_mul(&new_alloc_size, new_capacity, mItemSize), | ^~~~~~~~ In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def: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-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/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def: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 | host asm: libunwind <= external/libunwind/src/x86_64/getcontext.S host asm: libunwind <= external/libunwind/src/x86_64/setcontext.S In file included from art/runtime/jit/jit.h:20, from art/tools/cpp-define-generator/globals.def: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 | host C: libunwind <= external/libunwind/src/mi/init.c In file included from art/runtime/gc/allocator/rosalloc.h:36, from art/tools/cpp-define-generator/rosalloc.def:18, from art/tools/cpp-define-generator/asm_defines.def:29: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/allocator/rosalloc.h:36, from art/tools/cpp-define-generator/rosalloc.def:18, from art/tools/cpp-define-generator/asm_defines.def:29: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C: libunwind <= external/libunwind/src/mi/flush_cache.c host C: libunwind <= external/libunwind/src/mi/mempool.c system/core/libutils/SharedBuffer.cpp: In member function 'android::SharedBuffer* android::SharedBuffer::editResize(size_t) const': system/core/libutils/SharedBuffer.cpp:76:37: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class android::SharedBuffer'; use 'new' and 'delete' instead [-Wclass-memaccess] 76 | buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from system/core/libutils/SharedBuffer.cpp:23: system/core/include/utils/SharedBuffer.h:27:7: note: 'class android::SharedBuffer' declared here 27 | class SharedBuffer | ^~~~~~~~~~~~ In file included from art/runtime/gc/allocator/rosalloc.h:36, from art/tools/cpp-define-generator/rosalloc.def:18, from art/tools/cpp-define-generator/asm_defines.def:29: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C: libunwind <= external/libunwind/src/mi/strerror.c system/core/libutils/Threads.cpp: In function 'int androidCreateRawThreadEtc(android_thread_func_t, void*, const char*, int32_t, size_t, void**)': system/core/libutils/Threads.cpp:160:21: warning: cast between incompatible function types from 'android_thread_func_t' {aka 'int (*)(void*)'} to 'android_pthread_entry' {aka 'void* (*)(void*)'} [-Wcast-function-type] 160 | (android_pthread_entry)entryFunction, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host C: libunwind <= external/libunwind/src/mi/backtrace.c host C: libunwind <= external/libunwind/src/mi/dyn-cancel.c host C: libunwind <= external/libunwind/src/mi/dyn-info-list.c host C: libunwind <= external/libunwind/src/mi/dyn-register.c host C: libunwind <= external/libunwind/src/mi/map.c host C: libunwind <= external/libunwind/src/mi/Lmap.c host C: libunwind <= external/libunwind/src/mi/Ldyn-extract.c host C: libunwind <= external/libunwind/src/mi/Lfind_dynamic_proc_info.c host C: libunwind <= external/libunwind/src/mi/Lget_proc_info_by_ip.c host C: libunwind <= external/libunwind/src/mi/Lget_proc_name.c host C: libunwind <= external/libunwind/src/mi/Lput_dynamic_unwind_info.c host C: libunwind <= external/libunwind/src/mi/Ldestroy_addr_space.c host C: libunwind <= external/libunwind/src/mi/Lget_reg.c host C: libunwind <= external/libunwind/src/mi/Lset_reg.c host C: libunwind <= external/libunwind/src/mi/Lget_fpreg.c host C: libunwind <= external/libunwind/src/mi/Lset_fpreg.c host C: libunwind <= external/libunwind/src/mi/Lset_caching_policy.c host C: libunwind <= external/libunwind/src/mi/Gdyn-extract.c host C: libunwind <= external/libunwind/src/mi/Gdyn-remote.c host C: libunwind <= external/libunwind/src/mi/Gfind_dynamic_proc_info.c host C: libunwind <= external/libunwind/src/mi/Gget_accessors.c host C: libunwind <= external/libunwind/src/mi/Gget_proc_info_by_ip.c host C: libunwind <= external/libunwind/src/mi/Gget_proc_name.c host C: libunwind <= external/libunwind/src/mi/Gput_dynamic_unwind_info.c host C: libunwind <= external/libunwind/src/mi/Gdestroy_addr_space.c host C: libunwind <= external/libunwind/src/mi/Gget_reg.c host C: libunwind <= external/libunwind/src/mi/Gset_reg.c host C: libunwind <= external/libunwind/src/mi/Gget_fpreg.c host C: libunwind <= external/libunwind/src/mi/Gset_fpreg.c host C: libunwind <= external/libunwind/src/mi/Gset_caching_policy.c host C: libunwind <= external/libunwind/src/dwarf/Lexpr.c host C: libunwind <= external/libunwind/src/dwarf/Lfde.c host C: libunwind <= external/libunwind/src/dwarf/Lparser.c host C: libunwind <= external/libunwind/src/dwarf/Lpe.c host C: libunwind <= external/libunwind/src/dwarf/Lstep_dwarf.c host C: libunwind <= external/libunwind/src/dwarf/Lfind_proc_info-lsb.c host C: libunwind <= external/libunwind/src/dwarf/Lfind_unwind_table.c host C: libunwind <= external/libunwind/src/dwarf/Gexpr.c host C: libunwind <= external/libunwind/src/dwarf/Gfde.c host C: libunwind <= external/libunwind/src/dwarf/Gfind_proc_info-lsb.c host C: libunwind <= external/libunwind/src/dwarf/Gfind_unwind_table.c host C: libunwind <= external/libunwind/src/dwarf/Gparser.c host C: libunwind <= external/libunwind/src/dwarf/Gpe.c host C: libunwind <= external/libunwind/src/dwarf/Gstep_dwarf.c host C: libunwind <= external/libunwind/src/dwarf/global.c host C: libunwind <= external/libunwind/src/os-common.c host C: libunwind <= external/libunwind/src/os-linux.c host C: libunwind <= external/libunwind/src/Los-common.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_accessors.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_fpreg.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_mem.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_access_reg.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_create.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_destroy.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_find_proc_info.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_put_unwind_info.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_get_proc_name.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_reg_offset.c host C: libunwind <= external/libunwind/src/ptrace/_UPT_resume.c external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c: In function 'get_list_addr': external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c:80:10: note: '#pragma message: Implement get_list_addr(), please.' 80 | # pragma message("Implement get_list_addr(), please.") | ^~~~~~~ host C: libunwind <= external/libunwind/src/x86_64/is_fpreg.c host C: libunwind <= external/libunwind/src/x86_64/regname.c host C: libunwind <= external/libunwind/src/x86_64/Gcreate_addr_space.c host C: libunwind <= external/libunwind/src/x86_64/Gget_proc_info.c host C: libunwind <= external/libunwind/src/x86_64/Gget_save_loc.c host C: libunwind <= external/libunwind/src/x86_64/Gglobal.c host C: libunwind <= external/libunwind/src/x86_64/Ginit.c host C: libunwind <= external/libunwind/src/x86_64/Ginit_local.c host C: libunwind <= external/libunwind/src/x86_64/Ginit_remote.c host C: libunwind <= external/libunwind/src/x86_64/Gregs.c host C: libunwind <= external/libunwind/src/x86_64/Gresume.c host C: libunwind <= external/libunwind/src/x86_64/Gstep.c host C: libunwind <= external/libunwind/src/x86_64/Lcreate_addr_space.c host C: libunwind <= external/libunwind/src/x86_64/Lget_proc_info.c host C: libunwind <= external/libunwind/src/x86_64/Lget_save_loc.c host C: libunwind <= external/libunwind/src/x86_64/Lglobal.c host C: libunwind <= external/libunwind/src/x86_64/Linit.c host C: libunwind <= external/libunwind/src/x86_64/Linit_local.c host C: libunwind <= external/libunwind/src/x86_64/Linit_remote.c host C: libunwind <= external/libunwind/src/x86_64/Lregs.c host C: libunwind <= external/libunwind/src/x86_64/Lresume.c host C: libunwind <= external/libunwind/src/x86_64/Lstep.c host C: libunwind <= external/libunwind/src/x86_64/Gstash_frame.c host C: libunwind <= external/libunwind/src/x86_64/Gtrace.c host C: libunwind <= external/libunwind/src/x86_64/Gos-linux.c host C: libunwind <= external/libunwind/src/x86_64/Lstash_frame.c host C: libunwind <= external/libunwind/src/x86_64/Ltrace.c host C: libunwind <= external/libunwind/src/x86_64/Los-linux.c host C: libunwind <= external/libunwind/src/elf64.c host C++: libsigchain <= art/sigchainlib/sigchain.cc host C++: libelffile <= art/libelffile/elf/xz_utils.cc host C++: libelffile <= art/libelffile/stream/buffered_output_stream.cc host C++: libelffile <= art/libelffile/stream/file_output_stream.cc external/libunwind/src/x86_64/Gstash_frame.c: In function '_Ux86_64_stash_frame': external/libunwind/src/x86_64/Gstash_frame.c:53:10: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 53 | && labs(rs->reg[DWARF_CFA_OFF_COLUMN].val) < (1 << 29) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:58:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 58 | && labs(rs->reg[RBP].val) < (1 << 14) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:63:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 63 | && labs(rs->reg[RSP].val) < (1 << 14) | ^~~~ host C++: libelffile <= art/libelffile/stream/output_stream.cc host C++: libelffile <= art/libelffile/stream/vector_output_stream.cc external/libunwind/src/x86_64/Gtrace.c: In function '_Ux86_64_tdep_trace': external/libunwind/src/x86_64/Gtrace.c:476:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 476 | c->validate = 1; | ~~~~~~~~~~~~^~~ external/libunwind/src/x86_64/Gtrace.c:478:5: note: here 478 | case UNW_X86_64_FRAME_STANDARD: | ^~~~ In file included from external/libunwind/src/x86_64/Lstash_frame.c:4: external/libunwind/src/x86_64/Gstash_frame.c: In function '_ULx86_64_stash_frame': external/libunwind/src/x86_64/Gstash_frame.c:53:10: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 53 | && labs(rs->reg[DWARF_CFA_OFF_COLUMN].val) < (1 << 29) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:58:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 58 | && labs(rs->reg[RBP].val) < (1 << 14) | ^~~~ external/libunwind/src/x86_64/Gstash_frame.c:63:18: warning: taking the absolute value of unsigned type 'unw_word_t' {aka 'long unsigned int'} has no effect [-Wabsolute-value] 63 | && labs(rs->reg[RSP].val) < (1 << 14) | ^~~~ host C++: libart-dexlayout <= art/dexlayout/compact_dex_writer.cc host C++: libart-dexlayout <= art/dexlayout/dexlayout.cc host C++: libart-dexlayout <= art/dexlayout/dex_ir.cc In file included from external/libunwind/src/x86_64/Ltrace.c:4: external/libunwind/src/x86_64/Gtrace.c: In function '_ULx86_64_tdep_trace': external/libunwind/src/x86_64/Gtrace.c:476:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 476 | c->validate = 1; | ~~~~~~~~~~~~^~~ external/libunwind/src/x86_64/Gtrace.c:478:5: note: here 478 | case UNW_X86_64_FRAME_STANDARD: | ^~~~ host C++: libart-dexlayout <= art/dexlayout/dex_ir_builder.cc host C++: libart-dexlayout <= art/dexlayout/dex_verify.cc host C++: libart-dexlayout <= art/dexlayout/dex_visualize.cc In file included from art/libelffile/stream/output_stream.h:23, from art/libelffile/stream/file_output_stream.h:22, from art/libelffile/stream/file_output_stream.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libelffile/stream/output_stream.h:23, from art/libelffile/stream/output_stream.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/data_hash.h:20, from art/dexlayout/compact_dex_writer.h:25, from art/dexlayout/compact_dex_writer.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/leb128.h:26, from art/libelffile/elf/xz_utils.cc:24: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libart-dexlayout <= art/dexlayout/dex_writer.cc In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31, 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/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.cpp In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp In file included from art/libartbase/base/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_ir.cc:23: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/IcuUtilities.cpp In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/JniException.cpp host C++: libjavacore <= libcore/luni/src/main/native/NetworkUtilities.cpp In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/dexlayout/dex_writer.h:26, from art/dexlayout/dex_writer.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31, from art/libdexfile/dex/compact_dex_level.h:22, from art/dexlayout/dex_writer.h:27: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/Register.cpp In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/ZipUtilities.cpp 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/leb128.h:26, from art/dexlayout/dex_ir.h:27, from art/dexlayout/dex_visualize.cc:34: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/android_system_OsConstants.cpp In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/dexlayout/dex_ir.h:30: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libjavacore <= libcore/luni/src/main/native/cbigint.cpp host C++: libjavacore <= libcore/luni/src/main/native/java_lang_StringToReal.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++: libjavacore <= libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp 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/thread.h:39: art/runtime/managed_stack.h:167:23: warning: ignoring 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: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 { | ^~~~~~~~~~~~ host C++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Matcher.cpp 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 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 art/sigchainlib/sigchain.cc:103:45: warning: unused parameter 'wrapper' [-Wunused-parameter] art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: 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++: libjavacore <= libcore/luni/src/main/native/java_util_regex_Pattern.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_ICU.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_NativeConverter.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_icu_TimeZoneNames.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_AsynchronousCloseMonitor.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Linux.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_io_Memory.cpp host C++: libjavacore <= libcore/luni/src/main/native/libcore_util_NativeAllocationRegistry.cpp host C++: libjavacore <= libcore/luni/src/main/native/org_apache_harmony_xml_ExpatParser.cpp host C++: libjavacore <= libcore/luni/src/main/native/sun_misc_Unsafe.cpp Import includes file: out/host/linux-x86/obj/SHARED_LIBRARIES/libopenjdk_intermediates/import_includes host C++: libjavacore <= libcore/luni/src/main/native/valueOf.cpp host C++: libopenjdkjvm <= art/openjdkjvm/OpenjdkJvm.cc host C: libfdlibm <= external/fdlibm/k_standard.c host C: libfdlibm <= external/fdlibm/k_rem_pio2.c host C: libfdlibm <= external/fdlibm/k_cos.c external/fdlibm/k_rem_pio2.c: In function '__kernel_rem_pio2': external/fdlibm/k_rem_pio2.c:188:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 188 | for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; | ^~~ external/fdlibm/k_rem_pio2.c:188:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 188 | for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; | ^ host C: libfdlibm <= external/fdlibm/k_sin.c 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/k_tan.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 | ^~~~~~~ In file included from art/openjdkjvm/OpenjdkJvm.cc:47: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C: libfdlibm <= external/fdlibm/e_acos.c In file included from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/openjdkjvm/OpenjdkJvm.cc:48: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C: libfdlibm <= external/fdlibm/e_acosh.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" | In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/dexlayout/compact_dex_writer.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/thread-current-inl.h:20, from art/runtime/gc/space/large_object_space.h:25, from art/runtime/gc/heap.h:39, from art/openjdkjvm/OpenjdkJvm.cc:49: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ host C: libfdlibm <= external/fdlibm/e_asin.c host C: libfdlibm <= external/fdlibm/e_atan2.c host C: libfdlibm <= external/fdlibm/e_atanh.c external/fdlibm/e_asin.c: In function '__ieee754_asin': external/fdlibm/e_asin.c:88:15: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 88 | } else | ^~~~ external/fdlibm/e_asin.c:90:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 90 | p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); | ^ host C: libfdlibm <= external/fdlibm/e_cosh.c external/fdlibm/e_atan2.c: In function '__ieee754_atan2': external/fdlibm/e_atan2.c:74:15: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 74 | if((hx-0x3ff00000|lx)==0) return ieee_atan(y); /* x=1.0 */ | ~~^~~~~~~~~~~ external/fdlibm/e_asin.c:91:26: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] 91 | q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/fdlibm/e_asin.c:76:16: note: 't' was declared here 76 | double t,w,p,q,c,r,s; | ^ host C: libfdlibm <= external/fdlibm/e_exp.c In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/space/region_space-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/mirror/object-inl.h:37, from art/runtime/mirror/object_array-inl.h:29, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34, from art/runtime/mirror/string-inl.h:23, from art/openjdkjvm/OpenjdkJvm.cc:54: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ 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)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/dexlayout/dexlayout.h:29: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from art/dexlayout/dex_writer.h:22: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/e_fmod.c host C: libfdlibm <= external/fdlibm/e_gamma.c host C: libfdlibm <= external/fdlibm/e_gamma_r.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; | ^ In file included from art/libartbase/base/hash_map.h:22, from art/libartbase/base/arena_containers.h:29, from art/libartbase/base/scoped_arena_containers.h:27, from art/libartbase/base/bit_table.h:31, from art/runtime/stack_map.h:24, from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/libartbase/base/bit_utils.h:23, from art/tools/cpp-define-generator/globals.def:18: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/e_hypot.c 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: libfdlibm <= external/fdlibm/e_j0.c In file included from art/libartbase/base/hash_map.h:22, from art/libartbase/base/arena_containers.h:29, from art/libartbase/base/scoped_arena_containers.h:27, from art/libartbase/base/bit_table.h:31, from art/runtime/stack_map.h:24, from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/libartbase/base/bit_utils.h:23, from art/tools/cpp-define-generator/globals.def:18: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/e_j1.c In file included from art/libartbase/base/array_ref.h:23, from art/libelffile/elf/xz_utils.h:22, from art/libelffile/elf/xz_utils.cc:17: art/libelffile/elf/xz_utils.cc: In function 'void art::XzCompress(ArrayRef, 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); | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:101:14: warning: declaration of 'ret' shadows a previous local [-Wshadow] 101 | lzma_ret ret = lzma_code(&strm, LZMA_FINISH); | ^~~ art/libelffile/elf/xz_utils.cc:94:12: note: shadowed declaration is here 94 | lzma_ret ret = lzma_easy_encoder(&strm, level, LZMA_CHECK_CRC64); | ^~~ host C: libfdlibm <= external/fdlibm/e_jn.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:109:7: note: in expansion of macro 'CHECK_EQ' 109 | 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: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/e_lgamma.c In file included from art/libartbase/base/hash_map.h:22, from art/libartbase/base/arena_containers.h:29, from art/libartbase/base/scoped_arena_containers.h:27, from art/libartbase/base/bit_table.h:31, from art/runtime/stack_map.h:24, from art/runtime/stack.h:26, from art/tools/cpp-define-generator/globals.def:30: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/libartbase/base/bit_utils.h:23, from art/tools/cpp-define-generator/globals.def:18: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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); | ^~~~~~~~ art/libelffile/elf/xz_utils.cc:165:14: warning: declaration of 'ret' shadows a previous local [-Wshadow] 165 | lzma_ret ret = lzma_code(&strm, LZMA_FINISH); | ^~~ art/libelffile/elf/xz_utils.cc:158:12: note: shadowed declaration is here 158 | lzma_ret ret = lzma_stream_decoder(&strm, UINT64_MAX, 0); | ^~~ 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/e_lgamma_r.c In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/dexlayout/dex_ir.h:24: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ external/fdlibm/e_jn.c: In function '__ieee754_yn': external/fdlibm/e_jn.c:265:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 265 | for(i=1;i struct std::iterator' is deprecated [-Wdeprecated-declarations] 156 | class const_iterator : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/vector:62, from art/dexlayout/dex_ir.h:24: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/bit_table.h:156:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 156 | class const_iterator : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/dexlayout/dex_ir_builder.cc:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/bit_table.h:156:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 156 | class const_iterator : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from art/dexlayout/dex_visualize.cc:28: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/stack_map.h:26: art/libartbase/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/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: libfdlibm <= external/fdlibm/e_sinh.c 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_map.h:26: art/libartbase/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/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/e_sqrt.c In file included from art/runtime/stack_map.h:26: art/libartbase/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/stack.h: In static member function 'static void art::StackVisitor::WalkStack(const T&, art::Thread*, art::Context*, StackWalkKind, bool, bool)': art/runtime/stack.h:158:35: warning: declaration of 'const T& fn' shadows a parameter [-Wshadow] 158 | LambdaStackVisitor(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:149:48: note: shadowed declaration is here 149 | ALWAYS_INLINE static void WalkStack(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:159:34: warning: declaration of 'art::Thread* thread' shadows a parameter [-Wshadow] 159 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:150:47: note: shadowed declaration is here 150 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:160:35: warning: declaration of 'art::Context* context' shadows a parameter [-Wshadow] 160 | Context* context, | ~~~~~~~~~^~~~~~~ art/runtime/stack.h:151:48: note: shadowed declaration is here 151 | Context* context, | ~~~~~~~~~^~~~~~~ external/fdlibm/e_sinh.c: In function '__ieee754_sinh': art/runtime/stack.h:161:40: warning: declaration of 'art::StackVisitor::StackWalkKind walk_kind' shadows a parameter [-Wshadow] 161 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ external/fdlibm/e_sinh.c:74:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 74 | if (ix<0x408633CE || (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/stack.h:152:53: note: shadowed declaration is here 152 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ art/runtime/stack.h:162:31: warning: declaration of 'bool check_suspended' shadows a parameter [-Wshadow] 162 | bool check_suspended = true) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ art/runtime/stack.h:153:44: note: shadowed declaration is here 153 | bool check_suspended = true, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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/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/stack.h: In static member function 'static void art::StackVisitor::WalkStack(const T&, art::Thread*, art::Context*, StackWalkKind, bool, bool)': art/runtime/stack.h:158:35: warning: declaration of 'const T& fn' shadows a parameter [-Wshadow] 158 | LambdaStackVisitor(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:149:48: note: shadowed declaration is here 149 | ALWAYS_INLINE static void WalkStack(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:159:34: warning: declaration of 'art::Thread* thread' shadows a parameter [-Wshadow] 159 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:150:47: note: shadowed declaration is here 150 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:160:35: warning: declaration of 'art::Context* context' shadows a parameter [-Wshadow] 160 | Context* context, | ~~~~~~~~~^~~~~~~ art/runtime/stack.h:151:48: note: shadowed declaration is here 151 | Context* context, | ~~~~~~~~~^~~~~~~ art/runtime/stack.h:161:40: warning: declaration of 'art::StackVisitor::StackWalkKind walk_kind' shadows a parameter [-Wshadow] 161 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ art/runtime/stack.h:152:53: note: shadowed declaration is here 152 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ art/runtime/stack.h:162:31: warning: declaration of 'bool check_suspended' shadows a parameter [-Wshadow] 162 | bool check_suspended = true) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ art/runtime/stack.h:153:44: note: shadowed declaration is here 153 | bool check_suspended = true, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/w_acos.c external/fdlibm/e_sqrt.c: In function '__ieee754_sqrt': external/fdlibm/e_sqrt.c:161:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 161 | if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; | ^~ host C: libfdlibm <= external/fdlibm/w_acosh.c host C: libfdlibm <= external/fdlibm/w_asin.c 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: libfdlibm <= external/fdlibm/w_atan2.c host C: libfdlibm <= external/fdlibm/w_atanh.c In file included from art/libdexfile/dex/code_item_accessors.h:24, from art/runtime/art_method.h:32, from art/tools/cpp-define-generator/art_method.def:18, from art/tools/cpp-define-generator/asm_defines.def:22: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/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/code_item_accessors.h:24, from art/runtime/art_method.h:32, from art/tools/cpp-define-generator/art_method.def:18, from art/tools/cpp-define-generator/asm_defines.def:22: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_cosh.c host C: libfdlibm <= external/fdlibm/w_exp.c art/runtime/stack.h: In static member function 'static void art::StackVisitor::WalkStack(const T&, art::Thread*, art::Context*, StackWalkKind, bool, bool)': art/runtime/stack.h:158:35: warning: declaration of 'const T& fn' shadows a parameter [-Wshadow] 158 | LambdaStackVisitor(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:149:48: note: shadowed declaration is here 149 | ALWAYS_INLINE static void WalkStack(const T& fn, | ~~~~~~~~~^~ art/runtime/stack.h:159:34: warning: declaration of 'art::Thread* thread' shadows a parameter [-Wshadow] 159 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:150:47: note: shadowed declaration is here 150 | Thread* thread, | ~~~~~~~~^~~~~~ art/runtime/stack.h:160:35: warning: declaration of 'art::Context* context' shadows a parameter [-Wshadow] 160 | Context* context, | ~~~~~~~~~^~~~~~~ art/runtime/stack.h:151:48: note: shadowed declaration is here 151 | Context* context, | ~~~~~~~~~^~~~~~~ art/runtime/stack.h:161:40: warning: declaration of 'art::StackVisitor::StackWalkKind walk_kind' shadows a parameter [-Wshadow] 161 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ art/runtime/stack.h:152:53: note: shadowed declaration is here 152 | StackWalkKind walk_kind, | ~~~~~~~~~~~~~~^~~~~~~~~ art/runtime/stack.h:162:31: warning: declaration of 'bool check_suspended' shadows a parameter [-Wshadow] 162 | bool check_suspended = true) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ art/runtime/stack.h:153:44: note: shadowed declaration is here 153 | bool check_suspended = true, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:28, from art/dexlayout/dex_ir.h:30, from art/dexlayout/dex_writer.h:30: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: 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 In file included from art/libdexfile/dex/dex_file-inl.h:28, from art/dexlayout/dex_ir.h:30, from art/dexlayout/dexlayout.h:35: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_jn.c host C: libfdlibm <= external/fdlibm/w_lgamma.c In file included from art/libdexfile/dex/dex_file-inl.h:28: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_lgamma_r.c In file included from art/libdexfile/dex/code_item_accessors.h:24, from art/runtime/art_method.h:32, from art/tools/cpp-define-generator/art_method.def:18, from art/tools/cpp-define-generator/asm_defines.def:22: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_log.c host C: libfdlibm <= external/fdlibm/w_log10.c host C: libfdlibm <= external/fdlibm/w_pow.c art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/unordered_map:50: art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/w_remainder.c In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/unordered_map:50: art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_scalb.c host C: libfdlibm <= external/fdlibm/w_sinh.c In file included from art/libdexfile/dex/dex_file-inl.h:28, from art/dexlayout/dex_ir.h:30, from art/dexlayout/dex_writer.h:30: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/mirror/class.h:24, from art/tools/cpp-define-generator/mirror_class.def:18, from art/tools/cpp-define-generator/asm_defines.def:25: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/w_sqrt.c In file included from art/runtime/mirror/class.h:24, from art/tools/cpp-define-generator/mirror_class.def:18, from art/tools/cpp-define-generator/asm_defines.def:25: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_asinh.c In file included from art/libdexfile/dex/dex_file-inl.h:28: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_atan.c host C: libfdlibm <= external/fdlibm/s_cbrt.c host C: libfdlibm <= external/fdlibm/s_ceil.c host C: libfdlibm <= external/fdlibm/s_copysign.c art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/s_cos.c art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ 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(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/s_erf.c art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/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 static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/s_expm1.c art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/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/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/unordered_map:50: art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/dex_file-inl.h:28: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_fabs.c host C: libfdlibm <= external/fdlibm/s_finite.c host C: libfdlibm <= external/fdlibm/s_floor.c In file included from art/runtime/mirror/class.h:24, from art/tools/cpp-define-generator/mirror_class.def:18, from art/tools/cpp-define-generator/asm_defines.def:25: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_frexp.c In file included from art/libdexfile/dex/dex_file-inl.h:28: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ external/fdlibm/s_expm1.c: In function 'ieee_expm1': external/fdlibm/s_expm1.c:195:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 195 | if(k==1) | ^ 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libfdlibm <= external/fdlibm/s_isnan.c art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:113:48: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | template class Iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:115:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 115 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:117:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 117 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:118:33: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 118 | using pointer = typename std::iterator::pointer; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h:119:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 119 | using reference = typename std::iterator::reference; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/s_ldexp.c art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/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_lib_version.c art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libfdlibm <= external/fdlibm/s_log1p.c host C: libfdlibm <= external/fdlibm/s_logb.c host C: libfdlibm <= external/fdlibm/s_matherr.c 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 In file included from libcore/luni/src/main/native/libcore_icu_ICU.cpp:37: In function '_jstring* jniCreateString(JNIEnv*, const char16_t*, jsize)', inlined from 'void setStringField(JNIEnv*, jobject, const char*, UResourceBundle*, int)' at libcore/luni/src/main/native/libcore_icu_ICU.cpp:384:19: libnativehelper/include/nativehelper/JNIHelp.h:183:27: warning: 'chars' may be used uninitialized [-Wmaybe-uninitialized] 183 | return jniCreateString(&env->functions, reinterpret_cast(unicodeChars), len); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libcore/luni/src/main/native/libcore_icu_ICU.cpp: In function 'void setStringField(JNIEnv*, jobject, const char*, UResourceBundle*, int)': libcore/luni/src/main/native/libcore_icu_ICU.cpp:367:16: note: 'chars' was declared here 367 | const UChar* chars; | ^~~~~ host C: libfdlibm <= external/fdlibm/s_nextafter.c host C: libfdlibm <= external/fdlibm/s_rint.c host C: libfdlibm <= external/fdlibm/s_scalbn.c host C: libfdlibm <= external/fdlibm/s_signgam.c 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 host C++: libopenjdkjvm <= art/openjdkjvm/OpenjdkJvm.cc host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_ECC.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_EccKey.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_wolfcrypt_RSA.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSL.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLCertificate.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLCertManager.c host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLContext.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_ALL_CALLEE_SAVES_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_CLINIT_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_SUSPEND_CHECK_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_AND_ARGS_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_ONLY_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ In file included from art/openjdkjvm/OpenjdkJvm.cc:47: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLSession.c In file included from art/libartbase/base/atomic.h:27, from art/runtime/base/locks.h:25, from art/runtime/common_throws.h:22, from art/openjdkjvm/OpenjdkJvm.cc:48: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_ALL_CALLEE_SAVES_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_CLINIT_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_SUSPEND_CHECK_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_AND_ARGS_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_ONLY_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ host C: libwolfssljni <= external/wolfssljni/native/com_wolfssl_WolfSSLX509StoreCtx.c art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ host C++: libandroidfw <= libandroidfw/ApkAssets.cpp In file included 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/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ host C++: libandroidfw <= libandroidfw/Asset.cpp host C++: libandroidfw <= libandroidfw/AssetDir.cpp art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:759:48: required from 'static constexpr art::ThreadOffset art::Thread::CardTableOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]' art/tools/cpp-define-generator/thread.def:21:1: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadFlagsOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:31:1: required from here art/runtime/thread.h:664:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 664 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:664:9: note: in expansion of macro 'OFFSETOF_MEMBER' 664 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThinLockIdOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:33:1: required from here art/runtime/thread.h:650:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 650 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:650:9: note: in expansion of macro 'OFFSETOF_MEMBER' 650 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::InterpreterCacheOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:35:1: required from here art/runtime/thread.h:1285:55: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); art/runtime/thread.h:1285:39: note: in expansion of macro 'OFFSETOF_MEMBER' 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); | ^~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::IsGcMarkingOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:39:1: required from here art/runtime/thread.h:678:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 678 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:678:9: note: in expansion of macro 'OFFSETOF_MEMBER' 678 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::UseMterpOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:59:1: required from here art/runtime/thread.h:671:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 671 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:671:9: note: in expansion of macro 'OFFSETOF_MEMBER' 671 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/AssetManager.cpp art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:759:48: required from 'static constexpr art::ThreadOffset art::Thread::CardTableOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]' art/tools/cpp-define-generator/thread.def:21:1: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadFlagsOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:31:1: required from here art/runtime/thread.h:664:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 664 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:664:9: note: in expansion of macro 'OFFSETOF_MEMBER' 664 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThinLockIdOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:33:1: required from here art/runtime/thread.h:650:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 650 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:650:9: note: in expansion of macro 'OFFSETOF_MEMBER' 650 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::InterpreterCacheOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:35:1: required from here art/runtime/thread.h:1285:55: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); art/runtime/thread.h:1285:39: note: in expansion of macro 'OFFSETOF_MEMBER' 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::IsGcMarkingOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:39:1: required from here art/runtime/thread.h:678:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 678 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:678:9: note: in expansion of macro 'OFFSETOF_MEMBER' 678 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::UseMterpOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:59:1: required from here art/runtime/thread.h:671:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 671 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:671:9: note: in expansion of macro 'OFFSETOF_MEMBER' 671 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/AssetManager2.cpp host C++: libandroidfw <= libandroidfw/AttributeResolution.cpp art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_ALL_CALLEE_SAVES_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:22:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 22 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveAllCalleeSaves)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_CLINIT_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:24:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 24 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForClinit)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_FOR_SUSPEND_CHECK_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:26:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 26 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverythingForSuspendCheck)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_EVERYTHING_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:28:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 28 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveEverything)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_AND_ARGS_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:30:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 30 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsAndArgs)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def: In function 'void AsmDefineHelperFor_RUNTIME_SAVE_REFS_ONLY_METHOD_OFFSET()': art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:32: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ art/runtime/runtime.h:430:21: warning: 'offsetof' within non-standard-layout type 'art::Runtime' is conditionally-supported [-Winvalid-offsetof] 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) art/tools/cpp-define-generator/asm_defines.cc:34:46: note: in definition of macro 'ASM_DEFINE' 34 | :: "i" (static_cast(EXPR)), "i" ((EXPR) < 0 ? 1 : 0)); \ | ^~~~ art/runtime/runtime.h:430:5: note: in expansion of macro 'OFFSETOF_MEMBER' 430 | OFFSETOF_MEMBER(art::Runtime, art::Runtime::callee_save_methods_[static_cast(type)]) | ^~~~~~~~~~~~~~~ art/tools/cpp-define-generator/runtime.def:32:12: note: in expansion of macro 'GetCalleeSaveMethodOffset' 32 | GetCalleeSaveMethodOffset(art::CalleeSaveType::kSaveRefsOnly)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/ChunkIterator.cpp art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/space/region_space-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/mirror/object-inl.h:37, from art/runtime/mirror/object_array-inl.h:29, from art/runtime/mirror/iftable-inl.h:22, from art/runtime/mirror/class-inl.h:34, from art/runtime/mirror/string-inl.h:23, from art/openjdkjvm/OpenjdkJvm.cc:54: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:29, from libandroidfw/include/androidfw/ApkAssets.h:27, from libandroidfw/ApkAssets.cpp: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 | ^~~~~~~ art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/class_accessor-inl.h:20, from art/dexlayout/dex_ir_builder.cc:25: art/libdexfile/dex/class_accessor.h: At global scope: art/libdexfile/dex/class_accessor.h:179:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class DataIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:181:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 181 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:183:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 183 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ art/dexlayout/dex_ir.h: In constructor 'art::dex_ir::DexFileSection::DexFileSection(const std::string&, uint16_t, uint32_t, uint32_t)': art/dexlayout/dex_ir.h:1340:82: warning: declaration of 'offset' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~~~ art/dexlayout/dex_ir.h:1348:12: note: shadowed declaration is here 1348 | uint32_t offset; | ^~~~~~ art/dexlayout/dex_ir.h:1340:67: warning: declaration of 'size' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1346:12: note: shadowed declaration is here 1346 | uint32_t size; | ^~~~ art/dexlayout/dex_ir.h:1340:52: warning: declaration of 'type' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1344:12: note: shadowed declaration is here 1344 | uint16_t type; | ^~~~ art/dexlayout/dex_ir.h:1340:37: warning: declaration of 'name' shadows a member of 'art::dex_ir::DexFileSection' [-Wshadow] 1340 | DexFileSection(const std::string& name, uint16_t type, uint32_t size, uint32_t offset) | ~~~~~~~~~~~~~~~~~~~^~~~ art/dexlayout/dex_ir.h:1342:15: note: shadowed declaration is here 1342 | std::string name; | ^~~~ host C++: libandroidfw <= libandroidfw/ConfigDescription.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/AssetManager.cpp: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 | ^~~~~~~ art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/hash_map.h:22, from art/libdexfile/dex/dex_file_verifier.h:23, from art/dexlayout/dexlayout.cc:47: art/libartbase/base/hash_set.h: At global scope: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libandroidfw <= libandroidfw/Idmap.cpp art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:759:48: required from 'static constexpr art::ThreadOffset art::Thread::CardTableOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]' art/tools/cpp-define-generator/thread.def:21:1: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ 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: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadFlagsOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:31:1: required from here art/runtime/thread.h:664:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 664 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:664:9: note: in expansion of macro 'OFFSETOF_MEMBER' 664 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThinLockIdOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:33:1: required from here art/runtime/thread.h:650:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 650 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:650:9: note: in expansion of macro 'OFFSETOF_MEMBER' 650 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::InterpreterCacheOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:35:1: required from here art/runtime/thread.h:1285:55: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); art/runtime/thread.h:1285:39: note: in expansion of macro 'OFFSETOF_MEMBER' 1285 | return ThreadOffset(OFFSETOF_MEMBER(Thread, interpreter_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::IsGcMarkingOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:39:1: required from here art/runtime/thread.h:678:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 678 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:678:9: note: in expansion of macro 'OFFSETOF_MEMBER' 678 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::UseMterpOffset() [with art::PointerSize pointer_size = art::PointerSize::k64]': art/tools/cpp-define-generator/thread.def:59:1: required from here art/runtime/thread.h:671:25: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 671 | OFFSETOF_MEMBER(Thread, tls32_) + art/runtime/thread.h:671:9: note: in expansion of macro 'OFFSETOF_MEMBER' 671 | OFFSETOF_MEMBER(Thread, tls32_) + | ^~~~~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:29, from libandroidfw/include/androidfw/ApkAssets.h:27, from libandroidfw/include/androidfw/AssetManager2.h:27, from libandroidfw/AssetManager2.cpp:19: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libandroidfw <= libandroidfw/LoadedArsc.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 { | ^~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:29, from libandroidfw/include/androidfw/ApkAssets.h:27, from libandroidfw/include/androidfw/AssetManager2.h:27, from libandroidfw/include/androidfw/AttributeResolution.h:20, from libandroidfw/AttributeResolution.cpp:17: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libandroidfw <= libandroidfw/Locale.cpp In file included from art/libdexfile/dex/dex_file_verifier.h:25: art/libdexfile/dex/class_accessor.h:179:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class DataIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:181:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 181 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:183:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 183 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/thread.h: At global scope: art/runtime/thread.h:1574:27: warning: 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 libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/ChunkIterator.cpp: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/libdexfile/dex/class_accessor-inl.h:28: art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:23: art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ host C++: libandroidfw <= libandroidfw/LocaleData.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/ConfigDescription.h:22, from libandroidfw/ConfigDescription.cpp: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 | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:362:23: required from here art/runtime/mirror/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++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:362:23: required from here art/runtime/mirror/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++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:394:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:394:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libandroidfw <= libandroidfw/misc.cpp In file included from art/libartbase/base/hash_map.h:22, from art/libartbase/base/arena_containers.h:29, from art/libprofile/./profile/profile_compilation_info.h:23, from art/dexlayout/dex_visualize.cc:36: art/libartbase/base/hash_set.h: At global scope: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/Idmap.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 | ^~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Locale.h:23, from libandroidfw/Locale.cpp:18: /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:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:29, from libandroidfw/LoadedArsc.cpp:19: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libandroidfw <= libandroidfw/ObbFile.cpp art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:362:23: required from here art/runtime/mirror/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++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:394:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' host C++: libandroidfw <= libandroidfw/PosixUtils.cpp host C++: libandroidfw <= libandroidfw/ResourceTypes.cpp 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: 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 never defined [-fpermissive] 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 never defined [-fpermissive] In file included from art/runtime/mirror/object_reference.h:23, from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ 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: 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 never defined [-fpermissive] 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 never defined [-fpermissive] In file included from art/runtime/mirror/object_reference.h:23, from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ 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: 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 never defined [-fpermissive] 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 never defined [-fpermissive] In file included from art/runtime/mirror/object_reference.h:23, from art/runtime/stack_reference.h:21, from art/runtime/handle_scope.h:27, from art/runtime/thread.h:36: art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/ResourceTypes.cpp:36: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/unordered_map:50, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/openjdkjvm/OpenjdkJvm.cc:43: art/runtime/mirror/class_loader.h: In member function 'void art::mirror::ClassLoader::SetClassTable(art::ClassTable*)': art/runtime/mirror/class_loader.h:52:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:52:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'art::LinearAlloc* art::mirror::ClassLoader::GetAllocator()': art/runtime/mirror/class_loader.h:58:44: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:58:20: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'void art::mirror::ClassLoader::SetAllocator(art::LinearAlloc*)': art/runtime/mirror/class_loader.h:62:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:62:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:24, from art/runtime/mirror/string.h:22, from art/runtime/mirror/string-inl.h:19: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/libprofile/./profile/profile_compilation_info.h:34: art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:23: art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ libandroidfw/Asset.cpp: In static member function 'static std::unique_ptr android::Asset::createFromUncompressedMap(std::unique_ptr, AccessMode)': libandroidfw/Asset.cpp:317:21: warning: redundant move in return statement [-Wredundant-move] 317 | return std::move(pAsset); | ~~~~~~~~~^~~~~~~~ libandroidfw/Asset.cpp:317:21: note: remove 'std::move' call art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ In file included from art/libdexfile/dex/type_reference.h:25, from art/libprofile/./profile/profile_compilation_info.h:35: art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ libandroidfw/Asset.cpp: In static member function 'static std::unique_ptr android::Asset::createFromCompressedMap(std::unique_ptr, size_t, AccessMode)': libandroidfw/Asset.cpp:351:19: warning: redundant move in return statement [-Wredundant-move] 351 | return std::move(pAsset); | ~~~~~~~~~^~~~~~~~ libandroidfw/Asset.cpp:351:19: note: remove 'std::move' call art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libprofile/./profile/profile_compilation_info.h:34, from art/dexlayout/dexlayout.cc:53: art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:23: art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ In file included from art/libdexfile/dex/type_reference.h:25, from art/libprofile/./profile/profile_compilation_info.h:35: art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ In file included from art/libdexfile/dex/code_item_accessors.h:24, from art/runtime/art_method.h:32, from art/runtime/mirror/class-inl.h:23: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libandroidfw <= libandroidfw/ResourceUtils.cpp libandroidfw/include/androidfw/ConfigDescription.h: In constructor 'android::ConfigDescription::ConfigDescription()': libandroidfw/include/androidfw/ConfigDescription.h:145: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] 145 | memset(this, 0, sizeof(*this)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libandroidfw/include/androidfw/ConfigDescription.h:62:8: note: 'struct android::ConfigDescription' declared here 62 | struct ConfigDescription : public ResTable_config { | ^~~~~~~~~~~~~~~~~ host C++: libandroidfw <= libandroidfw/StreamingZipInflater.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/Chunk.h:30, from libandroidfw/include/androidfw/LoadedArsc.h:29, from libandroidfw/include/androidfw/ApkAssets.h:27, from libandroidfw/include/androidfw/AssetManager2.h:27, from libandroidfw/include/androidfw/ResourceUtils.h:20, from libandroidfw/ResourceUtils.cpp:17: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libandroidfw <= libandroidfw/TypeWrappers.cpp host C++: libandroidfw <= libandroidfw/Util.cpp In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/include/androidfw/TypeWrappers.h:20, from libandroidfw/TypeWrappers.cpp: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 | ^~~~~~~ libandroidfw/Idmap.cpp: In static member function 'static std::unique_ptr android::LoadedIdmap::Load(const android::StringPiece&)': libandroidfw/Idmap.cpp:175:19: warning: redundant move in return statement [-Wredundant-move] 175 | return std::move(loaded_idmap); | ~~~~~~~~~^~~~~~~~~~~~~~ libandroidfw/Idmap.cpp:175:19: note: remove 'std::move' call In file included from art/runtime/class_linker.h:31, from art/runtime/mirror/class-inl.h:28: art/libdexfile/dex/class_accessor.h:179:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class DataIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:181:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 181 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:183:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 183 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libandroidfw <= libandroidfw/ZipFileRO.cpp host C++: libandroidfw <= libandroidfw/ZipUtils.cpp art/dexlayout/dexlayout.cc: In lambda function: art/dexlayout/dexlayout.cc:1101:54: warning: declaration of 'uint32_t idx' shadows a parameter [-Wshadow] 1101 | [this](uint32_t idx) { | ~~~~~~~~~^~~ libandroidfw/Locale.cpp: In member function 'bool android::LocaleValue::InitFromBcp47TagImpl(const android::StringPiece&, char)': libandroidfw/Locale.cpp:160:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 160 | if ('0' <= subtags[1][0] && subtags[1][0] <= '9') { | ^~ art/dexlayout/dexlayout.cc:1075:35: note: shadowed declaration is here 1075 | void DexLayout::DumpCode(uint32_t idx, | ~~~~~~~~~^~~ libandroidfw/Locale.cpp:167:7: note: here 167 | case 5: | ^~~~ art/dexlayout/dexlayout.cc: In lambda function: art/dexlayout/dexlayout.cc:1133:51: warning: declaration of 'uint32_t idx' shadows a parameter [-Wshadow] 1133 | [this](uint32_t idx) { | ~~~~~~~~~^~~ art/dexlayout/dexlayout.cc:1075:35: note: shadowed declaration is here 1075 | void DexLayout::DumpCode(uint32_t idx, | ~~~~~~~~~^~~ art/dexlayout/dexlayout.cc: In lambda function: art/dexlayout/dexlayout.cc:1136:51: warning: declaration of 'uint32_t idx' shadows a parameter [-Wshadow] 1136 | [this](uint32_t idx) { | ~~~~~~~~~^~~ art/dexlayout/dexlayout.cc:1075:35: note: shadowed declaration is here 1075 | void DexLayout::DumpCode(uint32_t idx, | ~~~~~~~~~^~~ libandroidfw/ApkAssets.cpp: In static member function 'static std::unique_ptr android::ApkAssets::LoadImpl(android::base::unique_fd, const std::string&, std::unique_ptr, std::unique_ptr, bool, bool)': libandroidfw/ApkAssets.cpp:134:21: warning: redundant move in return statement [-Wredundant-move] 134 | return std::move(loaded_apk); | ~~~~~~~~~^~~~~~~~~~~~ libandroidfw/ApkAssets.cpp:134:21: note: remove 'std::move' call libandroidfw/ApkAssets.cpp:162:19: warning: redundant move in return statement [-Wredundant-move] 162 | return std::move(loaded_apk); | ~~~~~~~~~^~~~~~~~~~~~ libandroidfw/ApkAssets.cpp:162:19: note: remove 'std::move' call In file included from system/core/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 art/libdexfile/dex/dex_file.h:32, from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from system/core/include/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 | ^~~~~~~ host C++: libandroidfw <= libandroidfw/androidfw_c_api.cpp host C++: dalvikvm <= art/dalvikvm/dalvikvm.cc In file included from libandroidfw/include/android/configuration.h:29, from libandroidfw/include/androidfw/ResourceTypes.h:35, from libandroidfw/androidfw_c_api.cpp:2: /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 | ^~~~~~~ external/wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setVerify': external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3545:21: warning: 'verifyCb' may be used uninitialized [-Wmaybe-uninitialized] 3545 | if (appData && verifyCb) { | ^~ external/wolfssljni/native/com_wolfssl_WolfSSLSession.c:3518:14: note: 'verifyCb' was declared here 3518 | jobject* verifyCb; | ^~~~~~~~ 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 constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 { | ^~~~~~~~~~~~ host C++: libnativehelper <= libnativehelper/JNIHelp.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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C++: libnativehelper <= libnativehelper/JniConstants.cpp 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; | ^~~~~ libandroidfw/AssetManager2.cpp: In member function 'void android::Theme::SetTo(const android::Theme&)': libandroidfw/AssetManager2.cpp:1379:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1379 | for (size_t e = 0; e < type->entry_count; e++) { | ~~^~~~~~~~~~~~~~~~~~~ libandroidfw/AssetManager2.cpp: In member function 'void android::Theme::Dump() const': libandroidfw/AssetManager2.cpp:1488:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::array, 256>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1488 | for (int p = 0; p < packages_.size(); p++) { | ~~^~~~~~~~~~~~~~~~~~ libandroidfw/AssetManager2.cpp:1494:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::array, 256>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1494 | for (int t = 0; t < package->types.size(); t++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ host C++: libnativehelper <= libnativehelper/toStringArray.cpp host C++: libnativehelper <= libnativehelper/JniInvocation.cpp host C++: libnativehelper <= libnativehelper/AsynchronousCloseMonitor.cpp host SharedLib: liblog (out/host/linux-x86/obj/lib/liblog.so) libandroidfw/LoadedArsc.cpp: In static member function 'static std::unique_ptr android::LoadedPackage::Load(const android::Chunk&, const android::LoadedIdmap*, bool, bool)': libandroidfw/LoadedArsc.cpp:695:19: warning: redundant move in return statement [-Wredundant-move] 695 | return std::move(loaded_package); | ~~~~~~~~~^~~~~~~~~~~~~~~~ libandroidfw/LoadedArsc.cpp:695:19: note: remove 'std::move' call libandroidfw/LoadedArsc.cpp: In static member function 'static std::unique_ptr android::LoadedArsc::Load(const android::StringPiece&, const android::LoadedIdmap*, bool, bool)': libandroidfw/LoadedArsc.cpp:793:19: warning: redundant move in return statement [-Wredundant-move] 793 | return std::move(loaded_arsc); | ~~~~~~~~~^~~~~~~~~~~~~ libandroidfw/LoadedArsc.cpp:793:19: note: remove 'std::move' call 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 libcore/luni/src/main/native/libcore_io_Linux.cpp: In function 'jint Linux_poll(JNIEnv*, jobject, jobjectArray, jint)': libcore/luni/src/main/native/libcore_io_Linux.cpp:1864:11: warning: 'void* memset(void*, int, size_t)' specified bound between 18446744056529682432 and 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 1864 | memset(fds.get(), 0, sizeof(struct pollfd) * arrayLength); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/arch/instruction_set.h:25, from art/dex2oat/dex2oat_options.h:24, from art/dex2oat/dex2oat_options.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ libandroidfw/ResourceTypes.cpp: In function 'android::LocaleParserState android::assignLocaleComponent(ResTable_config*, const char*, size_t, LocaleParserState)': libandroidfw/ResourceTypes.cpp:3089:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 3089 | } | ^ libandroidfw/ResourceTypes.cpp:3091:8: note: here 3091 | case 5: | ^~~~ host C++: libbase <= libbase/file.cpp In file included from art/libartbase/base/utils.h:32, from art/cmdline/cmdline_result.h:21, from art/cmdline/cmdline_parse_result.h:20, from art/cmdline/cmdline_type_parser.h:20, from art/cmdline/cmdline_types.h:23, from art/dex2oat/dex2oat_options.h:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/arch/instruction_set.h:25, from art/runtime/arch/instruction_set_features.h:24, from art/dex2oat/dex2oat.cc:119: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ libandroidfw/ResourceTypes.cpp: In member function 'android::status_t android::DynamicRefTable::lookupResourceValue(android::Res_value*) const': libandroidfw/ResourceTypes.cpp:7024:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 7024 | resolvedType = Res_value::TYPE_ATTRIBUTE; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ libandroidfw/ResourceTypes.cpp:7026:9: note: here 7026 | case Res_value::TYPE_REFERENCE: | ^~~~ host C++: libbase <= libbase/stringprintf.cpp In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/unordered_map:50, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/openjdkjvm/OpenjdkJvm.cc:43: art/runtime/mirror/class_loader.h: In member function 'void art::mirror::ClassLoader::SetClassTable(art::ClassTable*)': art/runtime/mirror/class_loader.h:52:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:52:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'art::LinearAlloc* art::mirror::ClassLoader::GetAllocator()': art/runtime/mirror/class_loader.h:58:44: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:58:20: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'void art::mirror::ClassLoader::SetAllocator(art::LinearAlloc*)': art/runtime/mirror/class_loader.h:62:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:62:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:24, from art/runtime/mirror/string.h:22, from art/runtime/mirror/string-inl.h:19: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libbase <= libbase/strings.cpp art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ In file included 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: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/signature.h:26, from art/runtime/art_method.h:37, from art/runtime/art_method-inl.h:20, from art/dex2oat/dex2oat.cc:121: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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/libartbase/base/arena_containers.h:29: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libbase <= libbase/logging.cpp art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libbase <= libbase/errors_unix.cpp art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ host SharedLib: libcutils (out/host/linux-x86/obj/lib/libcutils.so) In file included 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/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/runtime/gc/space/region_space.h:23, from art/runtime/gc/space/region_space-inl.h:20, from art/runtime/gc/collector/concurrent_copying-inl.h:25, from art/runtime/read_barrier-inl.h:23, from art/runtime/gc_root-inl.h:25: art/runtime/thread.h:1707:5: warning: multi-line comment [-Wcomment] 1707 | // Pending checkpoint function or null if non-pending. If this checkpoint is set and someone\ | ^ In file included from art/libdexfile/dex/code_item_accessors.h:24, from art/runtime/art_method.h:32, from art/runtime/mirror/class-inl.h:23: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libziparchive <= system/core/libziparchive/zip_archive.cc host SharedLib: libutils (out/host/linux-x86/obj/lib/libutils.so) target Generated: libart-compiler <= out/host/linux-x86/gen/SHARED_LIBRARIES/libart-compiler_intermediates/asm_defines.S In file included from art/libelffile/elf/elf_utils.h:22, from art/libelffile/elf/elf_builder.h:29, 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 | ^~~~~~~ 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 | ^~~~~~~ target Generated: libart <= out/host/linux-x86/gen/SHARED_LIBRARIES/libart_intermediates/asm_defines.S 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: libnativebridge (out/host/linux-x86/obj/lib/libnativebridge.so) In file included from system/core/include/ziparchive/zip_archive.h:25, from system/core/libziparchive/zip_archive.cc:43: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ host C++: libbacktrace <= system/core/libbacktrace/Backtrace.cpp host C++: libbacktrace <= system/core/libbacktrace/BacktraceCurrent.cpp host C++: libbacktrace <= system/core/libbacktrace/BacktraceMap.cpp art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::PendingNextOffset()': art/runtime/mirror/reference.h:53:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:53:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueOffset()': art/runtime/mirror/reference.h:56:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:56:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueNextOffset()': art/runtime/mirror/reference.h:59:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:59:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::ReferentOffset()': art/runtime/mirror/reference.h:62:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:62:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::FinalizerReference::ZombieOffset()': art/runtime/mirror/reference.h:121:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::FinalizerReference' is conditionally-supported [-Winvalid-offsetof] 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:121:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/class_linker.h:31, from art/runtime/mirror/class-inl.h:28: art/libdexfile/dex/class_accessor.h:179:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class DataIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:181:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 181 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:183:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 183 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libbacktrace <= system/core/libbacktrace/BacktracePtrace.cpp host C++: libbacktrace <= system/core/libbacktrace/ThreadEntry.cpp host C++: libbacktrace <= system/core/libbacktrace/UnwindCurrent.cpp host C++: libbacktrace <= system/core/libbacktrace/UnwindMap.cpp In file included from art/libdexfile/dex/dex_file.h:32, from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/mirror/class-inl.h:31: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libbacktrace <= system/core/libbacktrace/UnwindPtrace.cpp host C: libbacktrace <= system/core/libbacktrace/thread_utils.c 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(); | ^~~~~~~~~ host SharedLib: libunwind (out/host/linux-x86/obj/lib/libunwind.so) host SharedLib: libsigchain (out/host/linux-x86/obj/lib/libsigchain.so) art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSuperClass(art::ObjPtr)': art/runtime/mirror/class-inl.h:76:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:76:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host StaticLib: libelffile (out/host/linux-x86/obj/STATIC_LIBRARIES/libelffile_intermediates/libelffile.a) art/runtime/mirror/class-inl.h:80:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:80:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetCopiedMethodsStartOffset()': art/runtime/mirror/class-inl.h:113:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:113:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetVirtualMethodsStartOffset()': art/runtime/mirror/class-inl.h:127:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:127:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetMethodsPtr()': art/runtime/mirror/class-inl.h:200:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:200:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ target Generated: libart-dex2oat <= out/host/linux-x86/gen/STATIC_LIBRARIES/libart-dex2oat_intermediates/asm_defines.S 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* 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 system/core/libbacktrace/BacktraceCurrent.cpp:39: /usr/include/libgen.h:9:16: note: initializing argument 1 of 'char* basename(char*)' 9 | char *basename(char *); | ^~~~~~ 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); | ^~~~~~~~ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetMethodsPtrUnchecked(art::LengthPrefixedArray*, uint32_t, uint32_t)': art/runtime/mirror/class-inl.h:261:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:261:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::ObjPtr art::mirror::Class::GetVTableDuringLinking()': art/runtime/mirror/class-inl.h:297:63: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:297:39: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetVTable(art::ObjPtr)': art/runtime/mirror/class-inl.h:301:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:301:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/linux_close.cpp art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetObjectSize(uint32_t)': art/runtime/mirror/class-inl.h:406:52: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:406:28: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/Character.cpp system/core/libbacktrace/Backtrace.cpp: In member function 'std::string Backtrace::GetErrorString(BacktraceUnwindError)': system/core/libbacktrace/Backtrace.cpp:160:1: warning: control reaches end of non-void function [-Wreturn-type] 160 | } | ^ In file included from libcore/ojluni/src/main/native/linux_close.cpp:38: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/Register.cpp art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from art/dexlayout/dexlayout.cc:48: art/libdexfile/dex/dex_instruction-inl.h: In member function 'uint32_t art::Instruction::GetVarArgs(uint32_t*, uint16_t) const': art/libdexfile/dex/dex_instruction-inl.h:537:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | arg[4] = InstA(inst_data); | ~~~~~~~^~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_instruction-inl.h:539:5: note: here 539 | case 4: | ^~~~ art/libdexfile/dex/dex_instruction-inl.h:540:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 540 | arg[3] = (regList >> 12) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_instruction-inl.h:542:5: note: here 542 | case 3: | ^~~~ art/libdexfile/dex/dex_instruction-inl.h:543:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | arg[2] = (regList >> 8) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_instruction-inl.h:545:5: note: here 545 | case 2: | ^~~~ art/libdexfile/dex/dex_instruction-inl.h:546:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | arg[1] = (regList >> 4) & 0x0f; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ art/libdexfile/dex/dex_instruction-inl.h:548:5: note: here 548 | case 1: | ^~~~ host C++: libopenjdk <= libcore/ojluni/src/main/native/socket_tagger_util.cpp host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_ZipFile.c host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_Inflater.c host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_Deflater.c host C: libopenjdk <= libcore/ojluni/src/main/native/java_util_zip_CRC32.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 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 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 | ^~~~~~~ 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 | ^~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtr()': art/runtime/mirror/class-inl.h:662:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:662:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:699:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:699:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:703:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:703:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetSFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:707:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:707:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:711:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:711:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libbase/include/android-base/logging.h:64: art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:721:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); libbase/include/android-base/macros.h:120:49: note: in definition of macro 'LIKELY' 120 | #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) | ^~~ libbase/include/android-base/logging.h:329:40: note: in expansion of macro 'CHECK' 329 | if (::android::base::kEnableDChecks) CHECK(x) | ^~~~~ art/runtime/mirror/class-inl.h:720:3: note: in expansion of macro 'DCHECK' 720 | DCHECK((IsRetired() && new_sfields == nullptr) || | ^~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:721:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:722:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:722:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:726:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:726:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClinitThreadId(pid_t)': art/runtime/mirror/class-inl.h:744:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:744:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetName(art::ObjPtr)': art/runtime/mirror/class-inl.h:755:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:755:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Adler32.c At global scope: cc1plus: note: unrecognized command-line option '-Wno-extern-c-compat' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/zip_util.c art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClassFlags(uint32_t)': art/runtime/mirror/class-inl.h:920:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:920:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetRecursivelyInitialized()': art/runtime/mirror/class-inl.h:1187:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1187:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetHasDefaultMethods()': art/runtime/mirror/class-inl.h:1193:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1193:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string-inl.h: In member function 'int32_t art::mirror::String::GetHashCode()': art/runtime/mirror/string-inl.h:71:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 71 | int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string-inl.h:71:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 71 | int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/zip_util.c:44: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/stl_tree.h:63, from /usr/include/c++/13.2.1/set:62, from art/libprofile/profile/profile_compilation_info.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/jni_util.c host C: libopenjdk <= libcore/ojluni/src/main/native/jni_util_md.c host C: libopenjdk <= libcore/ojluni/src/main/native/io_util.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/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 host C: libopenjdk <= libcore/ojluni/src/main/native/FileDescriptor_md.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/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 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Console_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/DatagramChannelImpl.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/IOUtil.c host C: libopenjdk <= libcore/ojluni/src/main/native/PollArrayWrapper.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/DatagramChannelImpl.c:42: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/IOUtil.c:32: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/SocketChannelImpl.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 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ 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 host C: libopenjdk <= libcore/ojluni/src/main/native/FileChannelImpl.c In file included from art/libdexfile/dex/code_item_accessors.h:24, from art/runtime/art_method.h:32: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/forward_list.h:36, from /usr/include/c++/13.2.1/forward_list:40, from art/dex2oat/dex2oat.cc:102: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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 | ^~~~~~~ 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/FileDispatcherImpl.c In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/FileOutputStream_md.c 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 | ^~~~~~~ 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/FileInputStream.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/FileSystemPreferences.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/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 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 | ^~~~~~~ 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/dex_file.h:32, from art/libdexfile/dex/dex_file-inl.h:20, from art/runtime/art_field-inl.h:25: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/EPoll.c In file included from art/libdexfile/dex/dex_file.h:32, from art/libprofile/profile/profile_compilation_info.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/FileInputStream.c:37: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/EPollPort.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 { | ^~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixAsynchronousServerSocketChannelImpl.c host C: libopenjdk <= libcore/ojluni/src/main/native/UnixAsynchronousSocketChannelImpl.c In file included from art/runtime/handle.h:22, from art/runtime/gc/heap.h:40: art/libartbase/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:178:46: required from here art/libartbase/base/casts.h:78:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 78 | return static_cast(f); | ^ In file included from art/runtime/thread.h:36: art/runtime/handle_scope.h:45:17: note: defined here 45 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:240:7: note: defined here 240 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:188:52: required from here art/libartbase/base/casts.h:78:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 78 | return static_cast(f); | ^ host C: libopenjdk <= libcore/ojluni/src/main/native/io_util_md.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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/NativeThread.c art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ 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 | ^~~~~~~ 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 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 | ^~~~~~~ art/runtime/mirror/array.h: In instantiation of 'int32_t art::mirror::Array::GetLength() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]': art/runtime/mirror/iftable.h:50:21: required from here art/runtime/mirror/array.h:62:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 62 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:62:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/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 | ^~~~~~~ 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/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 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 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/ObjectOutputStream.c host C: libopenjdk <= libcore/ojluni/src/main/native/ObjectInputStream.c art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetSuperClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:85:65: required from here art/runtime/mirror/class-inl.h:69:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:69:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/LinuxNativeDispatcher.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/UnixFileSystem_md.c:39: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetVTable() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:316:61: required from here art/runtime/mirror/class-inl.h:292:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:292:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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/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 art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetSuperClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:440:56: required from here art/runtime/mirror/class-inl.h:69:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:69:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetDexCache() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:838:64: required from here art/runtime/mirror/class-inl.h:103:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 103 | OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:103:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 103 | OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::Primitive::Type art::mirror::Class::GetPrimitiveType() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone]': art/runtime/mirror/class-inl.h:851:64: required from here art/runtime/mirror/class-inl.h:762:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 762 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:762:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 762 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In instantiation of 'bool art::mirror::Class::IsProxyClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone]': art/runtime/mirror/class-inl.h:852:33: required from here art/runtime/mirror/class.h:354:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 354 | uint32_t access_flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:354:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 354 | uint32_t access_flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetClassLoader() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:889:66: required from here art/runtime/mirror/class-inl.h:91:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:91:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'size_t art::mirror::Class::GetPrimitiveTypeSizeShift() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; size_t = long unsigned int]': art/runtime/mirror/class-inl.h:1017:97: required from here art/runtime/mirror/class-inl.h:773:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 773 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:773:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 773 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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/UnixNativeDispatcher.c In file included from art/libprofile/profile/profile_compilation_info.h:34: art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:23: art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UnixCopyFile.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/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/InetAddress.c host C: libopenjdk <= libcore/ojluni/src/main/native/net_util.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/LinuxNativeDispatcher.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ 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_md.c art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]' art/runtime/thread.h:707:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/LinuxWatchService.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/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 | ^~~~~~~ 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 | ^~~~~~~ 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 | ^~~~~~~ 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.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/MappedByteBuffer.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 art/libdexfile/dex/dex_file.h:32, from art/libdexfile/dex/compact_dex_level.h:22, from art/dex2oat/dex2oat_options.h:28: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13.2.1/string:47, from art/dex2oat/dex2oat_options.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from libcore/ojluni/src/main/native/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 | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:346:23: required from here art/runtime/mirror/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++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:362:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/Net.c:26: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:394:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' 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 art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::PendingNextOffset()': art/runtime/mirror/reference.h:53:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:53:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueOffset()': art/runtime/mirror/reference.h:56:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:56:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Inet6Address.c art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueNextOffset()': art/runtime/mirror/reference.h:59:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:59:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::ReferentOffset()': art/runtime/mirror/reference.h:62:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:62:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::FinalizerReference::ZombieOffset()': art/runtime/mirror/reference.h:121:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::FinalizerReference' is conditionally-supported [-Winvalid-offsetof] 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:121:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Inet4Address.c host C: libopenjdk <= libcore/ojluni/src/main/native/ServerSocketChannelImpl.c art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::SizeOf() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/object-inl.h:357:62: required from 'size_t art::mirror::Object::SizeOf() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; size_t = long unsigned int]' art/runtime/gc/space/region_space-inl.h:308:76: required from here art/runtime/mirror/class.h:481:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 481 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:481:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 481 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ 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/MappedByteBuffer.c:28: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, 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/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 | ^~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetClassLoader() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:465:34: required from 'bool art::mirror::Class::ResolvedFieldAccessTest(art::ObjPtr, art::ArtField*, art::ObjPtr, uint32_t) [with bool throw_on_failure = false; uint32_t = unsigned int]' art/runtime/mirror/class-inl.h:526:40: required from here art/runtime/mirror/class-inl.h:91:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:91:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetVTable() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:336:76: required from 'art::ArtMethod* art::mirror::Class::GetVTableEntry(uint32_t, art::PointerSize) [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier; uint32_t = unsigned int]' art/runtime/mirror/class-inl.h:622:24: required from here art/runtime/mirror/class-inl.h:292:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:292:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/string.h: In instantiation of 'int32_t art::mirror::String::GetCount() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]': art/runtime/mirror/string.h:87:53: required from 'int32_t art::mirror::String::GetLength() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]' art/runtime/mirror/string-inl.h:46:28: required from here art/runtime/mirror/string.h:92:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 92 | return GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:92:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 92 | return GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Float.c cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/net_util.h:29, from libcore/ojluni/src/main/native/ServerSocketChannelImpl.c:41: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ 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 | ^~~~~~~ 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 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 | ^~~~~~~ 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 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-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/SocketInputStream.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Double.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/SocketOutputStream.c:33: /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/libdexfile/dex/dex_file-inl.h:28, from art/libdexfile/dex/string_reference.h:24, from art/libdexfile/dex/type_reference.h:25, from art/libprofile/profile/profile_compilation_info.h:35: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from libcore/ojluni/src/main/native/net_util_md.h:36, from libcore/ojluni/src/main/native/net_util.h:31, from libcore/ojluni/src/main/native/SocketOutputStream.c:34: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ cc1: note: unrecognized command-line option '-Wno-sometimes-uninitialized' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C: libopenjdk <= libcore/ojluni/src/main/native/StrictMath.c In file included from libcore/ojluni/src/main/native/jvm_md.h:68, from libcore/ojluni/src/main/native/jvm.h:33, from libcore/ojluni/src/main/native/Float.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ 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 art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ 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 art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ 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/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]' art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' art/runtime/mirror/class-inl.h:575:82: required from here 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: 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: 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 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/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) | ^~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, 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/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) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:35: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, 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/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) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, 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/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) | ^~~~~~~~~~~~~~~~~~~~ libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, 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/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 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 | ^~~~~~~ libbase/include/android-base/logging.h:266:35: warning: passing 'art::SubtypeCheckInfo::State' chooses 'int' over 'unsigned int' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:275:24: note: in expansion of macro 'CHECK_OP' 275 | #define CHECK_NE(x, y) CHECK_OP(x, y, != ) | ^~~~~~~~ libbase/include/android-base/logging.h:333:40: note: in expansion of macro 'CHECK_NE' 333 | if (::android::base::kEnableDChecks) CHECK_NE(x, y) | ^~~~~~~~ art/runtime/subtype_check_info.h: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: 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 host C: libopenjdk <= libcore/ojluni/src/main/native/System.c 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/logging.h:266:67: warning: in call to 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::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/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/array-inl.h:27, from art/runtime/mirror/object_array-inl.h: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 never defined [-fpermissive] 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 never defined [-fpermissive] art/runtime/mirror/object-inl.h:197:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 197 | ALWAYS_INLINE bool Object::IsSpecificPrimitiveArray() { | ^~~~~~ art/runtime/mirror/object-inl.h:197:20: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/common_throws.h:23: art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ In file included from art/runtime/handle_scope-inl.h:25, from art/openjdkjvm/OpenjdkJvm.cc:50: art/runtime/obj_ptr-inl.h:95:35: warning: 'always_inline' function might not be inlinable [-Wattributes] 95 | OBJPTR_INLINE ObjPtr& ObjPtr::operator=(MirrorType* ptr) { | ^~~~~~~~~~~~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] host C: libopenjdk <= libcore/ojluni/src/main/native/Runtime.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 { | ^~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/UNIXProcess_md.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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libcore/ojluni/src/main/native/System.c:32: warning: "_GNU_SOURCE" redefined 32 | #define _GNU_SOURCE | : note: this is the location of the previous definition art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSuperClass(art::ObjPtr)': art/runtime/mirror/class-inl.h:76:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:76:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:80:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:80:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/dex2oat/linker/oat_writer.h:33, from art/dex2oat/dex2oat_options.h:31: art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ In file included from art/libdexfile/dex/method_reference.h:23: art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/method_reference.h: In constructor 'art::MethodReference::MethodReference(const art::DexFile*, uint32_t)': art/libdexfile/dex/method_reference.h:30:49: warning: declaration of 'index' shadows a member of 'art::MethodReference' [-Wshadow] 30 | MethodReference(const DexFile* file, uint32_t index) : DexFileReference(file, index) {} | ~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetCopiedMethodsStartOffset()': art/runtime/mirror/class-inl.h:113:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:113:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetVirtualMethodsStartOffset()': art/runtime/mirror/class-inl.h:127:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:127:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetMethodsPtr()': art/runtime/mirror/class-inl.h:200:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:200:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetMethodsPtrUnchecked(art::LengthPrefixedArray*, uint32_t, uint32_t)': art/runtime/mirror/class-inl.h:261:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:261:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ host C: libopenjdk <= libcore/ojluni/src/main/native/Bits.c art/runtime/mirror/class-inl.h: In member function 'art::ObjPtr art::mirror::Class::GetVTableDuringLinking()': art/runtime/mirror/class-inl.h:297:63: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:297:39: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetVTable(art::ObjPtr)': art/runtime/mirror/class-inl.h:301:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:301:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); | ^~~~~~~~~~~~~~~~~~~~~~~ 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/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 SharedLib: libwolfssljni (out/host/linux-x86/obj/lib/libwolfssljni.so) art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetObjectSize(uint32_t)': art/runtime/mirror/class-inl.h:406:52: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:406:28: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ host SharedLib: libnativehelper (out/host/linux-x86/obj/lib/libnativehelper.so) host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp) 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 SharedLib: libbase (out/host/linux-x86/obj/lib/libbase.so) 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 | ^~~~~~~ Install: out/host/linux-x86/bin/acp In file included from art/libdexfile/dex/dex_file-inl.h:28, from art/libdexfile/dex/string_reference.h:24, from art/dex2oat/linker/oat_writer.h:34: art/libdexfile/dex/dex_instruction_iterator.h: At global scope: art/libdexfile/dex/dex_instruction_iterator.h:61:14: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 61 | std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:63:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 63 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/dex_instruction_iterator.h:64:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 64 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../lib/libc.so: warning: The fgetln() function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008. host Executable: dalvikvm (out/host/linux-x86/obj/EXECUTABLES/dalvikvm_intermediates/dalvikvm) Install: out/host/linux-x86/lib64/liblog.so art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/string_reference.h: In constructor 'art::StringReference::StringReference(const art::DexFile*, art::dex::StringIndex)': art/libdexfile/dex/string_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::StringReference' [-Wshadow] 34 | StringReference(const DexFile* file, dex::StringIndex index) | ~~~~~~~~~~~~~~~~~^~~~~ host SharedLib: libziparchive (out/host/linux-x86/obj/lib/libziparchive.so) art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ In file included from art/dex2oat/linker/oat_writer.h:35: art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/arch/instruction_set.h_operator_out.cc art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ art/libdexfile/dex/type_reference.h: In constructor 'art::TypeReference::TypeReference(const art::DexFile*, art::dex::TypeIndex)': art/libdexfile/dex/type_reference.h:34:57: warning: declaration of 'index' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~ art/libdexfile/dex/dex_file_reference.h:30:12: note: shadowed declaration is here 30 | uint32_t index; | ^~~~~ art/libdexfile/dex/type_reference.h:34:32: warning: declaration of 'dex_file' shadows a member of 'art::TypeReference' [-Wshadow] 34 | TypeReference(const DexFile* dex_file, dex::TypeIndex index) | ~~~~~~~~~~~~~~~^~~~~~~~ art/libdexfile/dex/dex_file_reference.h:29:18: note: shadowed declaration is here 29 | const DexFile* dex_file; | ^~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/allocator.h_operator_out.cc In file included from art/runtime/mirror/class.h:24, from art/dex2oat/linker/oat_writer.h:37: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/unix_file/fd_file.h_operator_out.cc In file included from /usr/include/c++/13.2.1/cstddef:50, from /usr/include/c++/13.2.1/bits/memory_resource.h:38, from /usr/include/c++/13.2.1/string:58: art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ host SharedLib: libartpalette (out/host/linux-x86/obj/lib/libartpalette.so) Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file_layout.h_operator_out.cc art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction.h_operator_out.cc art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_instruction_utils.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/invoke_type.h_operator_out.cc 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 Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/linker/linker_patch.h_operator_out.cc 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] Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/locations.h_operator_out.cc 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; | ^~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/optimizing/optimizing_compiler_stats.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) | ^~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/utils/arm/constants_arm.h_operator_out.cc libbase/include/android-base/logging.h:266:67: warning: in call to 'std::basic_ostream<_Ch, _Tr>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' [-Wsign-promo] 266 | << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " | ^~~ libbase/include/android-base/logging.h:274:24: note: in expansion of macro 'CHECK_OP' 274 | #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) | ^~~~~~~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/class-inl.h:587:7: note: in expansion of macro 'DCHECK_EQ' 587 | DCHECK_EQ(expected_result, sc_result) | ^~~~~~~~~ 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/utils/mips64/assembler_mips64.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart-compiler_intermediates/asm_defines.h Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/mterp_x86_64.S 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/base/locks.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/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_type.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/collector_type.h_operator_out.cc 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 art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtr()': art/runtime/mirror/class-inl.h:662:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:662:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/region_space.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/space/space.h_operator_out.cc Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/gc/weak_root_state.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:699:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:699:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/image.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:703:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:703:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetSFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:707:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:707:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:711:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:711:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 libbase/include/android-base/logging.h:64: art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:721:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); libbase/include/android-base/macros.h:120:49: note: in definition of macro 'LIKELY' 120 | #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) | ^~~ libbase/include/android-base/logging.h:329:40: note: in expansion of macro 'CHECK' 329 | if (::android::base::kEnableDChecks) CHECK(x) | ^~~~~ art/runtime/mirror/class-inl.h:720:3: note: in expansion of macro 'DCHECK' 720 | DCHECK((IsRetired() && new_sfields == nullptr) || | ^~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:721:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 art/runtime/mirror/class-inl.h:722:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:722:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:726:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:726:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/jdwp/jdwp_constants.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClinitThreadId(pid_t)': art/runtime/mirror/class-inl.h:744:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:744:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetName(art::ObjPtr)': art/runtime/mirror/class-inl.h:755:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:755:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 Copy: out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/stack.h_operator_out.cc 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 Copy: out/host/linux-x86/obj/STATIC_LIBRARIES/libart-dex2oat_intermediates/asm_defines.h Install: out/host/linux-x86/lib64/libcutils.so Install: out/host/linux-x86/lib64/libutils.so Install: out/host/linux-x86/lib64/libunwind.so Install: out/host/linux-x86/lib64/libsigchain.so Install: out/host/linux-x86/lib64/libnativebridge.so Install: out/host/linux-x86/framework/dx.jar host SharedLib: libjavacore (out/host/linux-x86/obj/lib/libjavacore.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 art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClassFlags(uint32_t)': art/runtime/mirror/class-inl.h:920:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:920:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/mem_map_unix.cc host C++: libartbase <= art/libartbase/arch/instruction_set.cc host C++: libartbase <= art/libartbase/base/allocator.cc host C++: libartbase <= art/libartbase/base/arena_allocator.cc host C++: libartbase <= art/libartbase/base/arena_bit_vector.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/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetRecursivelyInitialized()': art/runtime/mirror/class-inl.h:1187:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1187:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/bit_vector.cc 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/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetHasDefaultMethods()': art/runtime/mirror/class-inl.h:1193:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1193:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/enums.cc art/runtime/mirror/string-inl.h: In member function 'int32_t art::mirror::String::GetHashCode()': art/runtime/mirror/string-inl.h:71:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 71 | int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string-inl.h:71:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 71 | int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/file_magic.cc host C++: libartbase <= art/libartbase/base/file_utils.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 host C++: libartbase <= art/libartbase/base/hex_dump.cc cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics host C++: libartbase <= art/libartbase/base/hiddenapi_flags.cc host C++: libartbase <= art/libartbase/base/logging.cc In file included from art/libartbase/base/hex_dump.h:20, from art/libartbase/base/hex_dump.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/malloc_arena_pool.cc In file included from art/libartbase/arch/instruction_set.h:25, from art/libartbase/arch/instruction_set.cc:19: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/mem_map.h:28, from art/libartbase/base/mem_map_unix.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/membarrier.cc host C++: libartbase <= art/libartbase/base/memfd.cc In file included from art/compiler/driver/compiler_options.h:26, from art/compiler/driver/compiler_options_map-inl.h:30, from art/dex2oat/dex2oat_options.cc:22: art/libartbase/base/hash_set.h:38:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 38 | class HashSetIterator : std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libartbase <= art/libartbase/base/memory_region.cc In file included from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/libartbase/base/allocator.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/membarrier.cc:25: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/mem_map.cc In file included from art/libartbase/base/memfd.cc:28: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/arch/instruction_set.h:25, from art/libartbase/base/file_utils.h:26, from art/libartbase/base/file_utils.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/file_magic.cc:28: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/atomic.h:27, from art/libartbase/base/allocator.h:22, from art/libartbase/base/bit_vector.cc:22: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/dumpable.h:22, from art/libartbase/base/hiddenapi_flags.h:26, from art/libartbase/base/hiddenapi_flags.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/hiddenapi_flags.h:27: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/os_linux.cc In file included from art/libartbase/base/logging.h:22, from art/libartbase/base/logging.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/logging.cc:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/runtime_debug.cc In file included from art/libartbase/base/memory_region.h:29, from art/libartbase/base/memory_region.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/mem_map.h:28, from art/libartbase/base/mem_map.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/safe_copy.cc In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/os_linux.cc:28: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/memory_tool.h:20, from art/dex2oat/dex2oat.cc:100: art/runtime/mirror/array.h: In member function 'void art::mirror::Array::SetLength(int32_t)': art/runtime/mirror/array.h:69:67: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:69:43: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::LengthOffset()': art/runtime/mirror/array.h:73:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:73:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 73 | return OFFSET_OF_OBJECT_MEMBER(Array, length_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr art::MemberOffset art::mirror::Array::DataOffset(size_t)': art/runtime/mirror/array.h:78:50: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); art/runtime/mirror/array.h:78:34: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In static member function 'static constexpr size_t art::mirror::Array::FirstElementOffset()': art/runtime/mirror/array.h:92:28: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 92 | return OFFSETOF_MEMBER(Array, first_element_); art/runtime/mirror/array.h:92:12: note: in expansion of macro 'OFFSETOF_MEMBER' 92 | return OFFSETOF_MEMBER(Array, first_element_); | ^~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class.h:24, from art/runtime/mirror/array-inl.h:25, from art/runtime/mirror/object-inl.h:22, from art/runtime/gc/space/region_space-inl.h:23: art/libartbase/base/stride_iterator.h: At global scope: art/libartbase/base/stride_iterator.h:27:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 27 | class StrideIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libartbase/base/stride_iterator.h:30:21: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 30 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/runtime/handle.h:22, from art/runtime/gc/heap.h:40: art/libartbase/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = VariableSizedHandleScope*; From = BaseHandleScope]': art/runtime/handle_scope-inl.h:178:46: required from here art/libartbase/base/casts.h:78:27: warning: converting a packed 'art::BaseHandleScope' pointer (alignment 4) to a 'art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 78 | return static_cast(f); | ^ In file included from art/runtime/thread.h:36: art/runtime/handle_scope.h:45:17: note: defined here 45 | class PACKED(4) BaseHandleScope { | ^~~~~~~~~~~~~~~ art/runtime/handle_scope.h:240:7: note: defined here 240 | class VariableSizedHandleScope : public BaseHandleScope { | ^~~~~~~~~~~~~~~~~~~~~~~~ art/libartbase/base/casts.h: In instantiation of 'To art::down_cast(From*) [with To = const VariableSizedHandleScope*; From = const BaseHandleScope]': art/runtime/handle_scope-inl.h:188:52: required from here art/libartbase/base/casts.h:78:27: warning: converting a packed 'const art::BaseHandleScope' pointer (alignment 4) to a 'const art::VariableSizedHandleScope' pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member] 78 | return static_cast(f); | ^ art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/scoped_arena_allocator.cc art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::StatusOffset()': art/runtime/mirror/class.h:102:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:102:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 102 | return MemberOffset(OFFSET_OF_OBJECT_MEMBER(Class, status_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::AccessFlagsOffset()': art/runtime/mirror/class.h:186:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:186:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 186 | return OFFSET_OF_OBJECT_MEMBER(Class, access_flags_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetFinalizable()': art/runtime/mirror/class.h:236:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:236:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 236 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetVerificationAttempted()': art/runtime/mirror/class.h:293:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:293:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 293 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::PrimitiveTypeOffset()': art/runtime/mirror/class.h:359:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:359:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 359 | return OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetPrimitiveType(art::Primitive::Type)': art/runtime/mirror/class.h:371:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:371:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 371 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_), v32); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ComponentTypeOffset()': art/runtime/mirror/class.h:440:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:440:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 440 | return OFFSET_OF_OBJECT_MEMBER(Class, component_type_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeOffset()': art/runtime/mirror/class.h:517:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:517:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 517 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::ObjectSizeAllocFastPathOffset()': art/runtime/mirror/class.h:520:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:520:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 520 | return OFFSET_OF_OBJECT_MEMBER(Class, object_size_alloc_fast_path_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetObjectSizeWithoutChecks(uint32_t)': art/runtime/mirror/class.h:534:33: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:534:9: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 534 | OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::SuperClassOffset()': art/runtime/mirror/class.h:602:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); art/runtime/mirror/class.h:602:25: note: in expansion of macro 'OFFSETOF_MEMBER' 602 | return MemberOffset(OFFSETOF_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h: In instantiation of 'int32_t art::mirror::Array::GetLength() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]': art/runtime/mirror/iftable.h:50:21: required from here art/runtime/mirror/array.h:62:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Array' is conditionally-supported [-Winvalid-offsetof] 62 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/array.h:62:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::DexCacheOffset()': art/runtime/mirror/class.h:613:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); art/runtime/mirror/class.h:613:25: note: in expansion of macro 'OFFSETOF_MEMBER' 613 | return MemberOffset(OFFSETOF_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::IfTableOffset()': art/runtime/mirror/class.h:617:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); art/runtime/mirror/class.h:617:25: note: in expansion of macro 'OFFSETOF_MEMBER' 617 | return MemberOffset(OFFSETOF_MEMBER(Class, iftable_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::MethodsOffset()': art/runtime/mirror/class.h:642:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); art/runtime/mirror/class.h:642:25: note: in expansion of macro 'OFFSETOF_MEMBER' 642 | return MemberOffset(OFFSETOF_MEMBER(Class, methods_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In static member function 'static constexpr art::MemberOffset art::mirror::Class::VTableOffset()': art/runtime/mirror/class.h:753:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:753:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 753 | return OFFSET_OF_OBJECT_MEMBER(Class, vtable_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceInstanceFieldsDuringLinking()': art/runtime/mirror/class.h:947:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:947:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 947 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceInstanceFields(uint32_t)': art/runtime/mirror/class.h:952:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:952:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 952 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_instance_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint32_t art::mirror::Class::NumReferenceStaticFieldsDuringLinking()': art/runtime/mirror/class.h:976:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:976:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 976 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetNumReferenceStaticFields(uint32_t)': art/runtime/mirror/class.h:981:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:981:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 981 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'pid_t art::mirror::Class::GetClinitThreadId()': art/runtime/mirror/class.h:1055:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1055:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1055 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'uint16_t art::mirror::Class::GetDexClassDefIndex()': art/runtime/mirror/class.h:1071:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1071:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1071 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexClassDefIndex(uint16_t)': art/runtime/mirror/class.h:1075:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1075:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1075 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_class_def_idx_), class_def_idx); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'art::dex::TypeIndex art::mirror::Class::GetDexTypeIndex()': art/runtime/mirror/class.h:1080:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1080:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1080 | static_cast(GetField32(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In member function 'void art::mirror::Class::SetDexTypeIndex(art::dex::TypeIndex)': art/runtime/mirror/class.h:1084:51: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:1084:27: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1084 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, dex_type_idx_), type_idx.index_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetSuperClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:85:65: required from here art/runtime/mirror/class-inl.h:69:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:69:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetVTable() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:316:61: required from here art/runtime/mirror/class-inl.h:292:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:292:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetSuperClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:440:56: required from here art/runtime/mirror/class-inl.h:69:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:69:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 69 | OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetDexCache() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:838:64: required from here art/runtime/mirror/class-inl.h:103:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 103 | OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:103:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 103 | OFFSET_OF_OBJECT_MEMBER(Class, dex_cache_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::Primitive::Type art::mirror::Class::GetPrimitiveType() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone]': art/runtime/mirror/class-inl.h:851:64: required from here art/runtime/mirror/class-inl.h:762:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 762 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:762:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 762 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In instantiation of 'bool art::mirror::Class::IsProxyClass() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone]': art/runtime/mirror/class-inl.h:852:33: required from here art/runtime/mirror/class.h:354:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 354 | uint32_t access_flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:354:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 354 | uint32_t access_flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetClassLoader() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithoutReadBarrier]': art/runtime/mirror/class-inl.h:889:66: required from here art/runtime/mirror/class-inl.h:91:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:91:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In instantiation of 'size_t art::mirror::Class::GetPrimitiveTypeSizeShift() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; size_t = long unsigned int]': art/runtime/mirror/class-inl.h:1017:97: required from here art/runtime/mirror/class-inl.h:773:66: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 773 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:773:42: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 773 | int32_t v32 = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, primitive_type_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]' art/runtime/thread.h:707:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libartbase <= art/libartbase/base/scoped_flock.cc art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:346:23: required from here art/runtime/mirror/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++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:362:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/object.h: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 >*]' 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 >*]' art/runtime/mirror/dex_cache.h:394:23: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::GetClassFlags() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/class.h:264:32: required from here art/runtime/mirror/class.h:191:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:191:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 191 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class.h: In instantiation of 'uint32_t art::mirror::Class::SizeOf() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; uint32_t = unsigned int]': art/runtime/mirror/object-inl.h:357:62: required from 'size_t art::mirror::Object::SizeOf() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; size_t = long unsigned int]' art/runtime/gc/space/region_space-inl.h:308:76: required from here art/runtime/mirror/class.h:481:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 481 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class.h:481:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 481 | return GetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_size_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/socket_peer_is_trusted.cc art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetClassLoader() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:465:34: required from 'bool art::mirror::Class::ResolvedFieldAccessTest(art::ObjPtr, art::ArtField*, art::ObjPtr, uint32_t) [with bool throw_on_failure = false; uint32_t = unsigned int]' art/runtime/mirror/class-inl.h:526:40: required from here art/runtime/mirror/class-inl.h:91:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:91:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 91 | OFFSET_OF_OBJECT_MEMBER(Class, class_loader_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/scoped_flock.h:25, from art/libartbase/base/scoped_flock.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/class-inl.h: In instantiation of 'art::ObjPtr art::mirror::Class::GetVTable() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier]': art/runtime/mirror/class-inl.h:336:76: required from 'art::ArtMethod* art::mirror::Class::GetVTableEntry(uint32_t, art::PointerSize) [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; art::ReadBarrierOption kReadBarrierOption = art::kWithReadBarrier; uint32_t = unsigned int]' art/runtime/mirror/class-inl.h:622:24: required from here art/runtime/mirror/class-inl.h:292:31: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:292:7: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 292 | OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/scoped_flock.h:27: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/string.h: In instantiation of 'int32_t art::mirror::String::GetCount() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]': art/runtime/mirror/string.h:87:53: required from 'int32_t art::mirror::String::GetLength() [with art::VerifyObjectFlags kVerifyFlags = art::kVerifyNone; int32_t = int]' art/runtime/mirror/string-inl.h:46:28: required from here art/runtime/mirror/string.h:92:61: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 92 | return GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:92:37: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 92 | return GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= art/libartbase/base/time_utils.cc host C++: libartbase <= art/libartbase/base/unix_file/fd_file.cc host C++: libartbase <= art/libartbase/base/unix_file/random_access_file_utils.cc In file included from art/libartbase/base/time_utils.h:26, from art/libartbase/base/time_utils.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/runtime/class_linker.h:31, from art/runtime/mirror/class-inl.h:28, from art/runtime/mirror/object-inl.h:26: art/libdexfile/dex/class_accessor.h: At global scope: art/libdexfile/dex/class_accessor.h:179:36: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class DataIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:181:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 181 | using value_type = typename std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_accessor.h:183:23: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 183 | typename std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ host C++: libartbase <= art/libartbase/base/utils.cc In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/unix_file/fd_file.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ 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]' art/runtime/subtype_check.h:565:31: required from 'static art::SubtypeCheckInfo art::SubtypeCheck::GetSubtypeCheckInfo(ClassPtr) [with ClassPtr = art::ObjPtr]' art/runtime/subtype_check.h:355:47: required from 'static art::SubtypeCheckInfo::Result art::SubtypeCheck::IsSubtypeOf(ClassPtr, ClassPtr) [with ClassPtr = art::ObjPtr]' art/runtime/mirror/class-inl.h:575:82: required from here 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_loader.h: In member function 'void art::mirror::ClassLoader::SetClassTable(art::ClassTable*)': art/runtime/mirror/class_loader.h:52:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:52:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 52 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, class_table_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'art::LinearAlloc* art::mirror::ClassLoader::GetAllocator()': art/runtime/mirror/class_loader.h:58:44: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:58:20: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | GetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h: In member function 'void art::mirror::ClassLoader::SetAllocator(art::LinearAlloc*)': art/runtime/mirror/class_loader.h:62:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::ClassLoader' is conditionally-supported [-Winvalid-offsetof] 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class_loader.h:62:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | SetField64(OFFSET_OF_OBJECT_MEMBER(ClassLoader, allocator_), | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/mirror/class-inl.h:33: art/runtime/mirror/dex_cache.h: In constructor 'art::mirror::NativeDexCachePair::NativeDexCachePair(T*, uint32_t)': art/runtime/mirror/dex_cache.h:91:42: warning: declaration of 'index' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:88:10: note: shadowed declaration is here 88 | size_t index; | ^~~~~ art/runtime/mirror/dex_cache.h:91:25: warning: declaration of 'object' shadows a member of 'art::mirror::NativeDexCachePair' [-Wshadow] 91 | NativeDexCachePair(T* object, uint32_t index) | ~~~^~~~~~ art/runtime/mirror/dex_cache.h:87:6: note: shadowed declaration is here 87 | T* object; | ^~~~~~ In file included from art/runtime/mirror/array-inl.h:27, from art/runtime/mirror/object_array-inl.h: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 never defined [-fpermissive] 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 never defined [-fpermissive] art/runtime/mirror/object-inl.h:197:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 197 | ALWAYS_INLINE bool Object::IsSpecificPrimitiveArray() { | ^~~~~~ art/runtime/mirror/object-inl.h:197:20: warning: 'always_inline' function might not be inlinable [-Wattributes] In file included from art/runtime/common_throws.h:23: art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ In file included from art/runtime/handle_scope-inl.h:25, from art/openjdkjvm/OpenjdkJvm.cc:50: art/runtime/obj_ptr-inl.h:95:35: warning: 'always_inline' function might not be inlinable [-Wattributes] 95 | OBJPTR_INLINE ObjPtr& ObjPtr::operator=(MirrorType* ptr) { | ^~~~~~~~~~~~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:152:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 152 | OBJPTR_INLINE bool operator==(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] 180 | OBJPTR_INLINE bool operator!=(ObjPtr ptr, std::nullptr_t) { | ^~~~~~~~ art/runtime/obj_ptr.h:180:20: warning: 'always_inline' function might not be inlinable [-Wattributes] art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::StringsOffset()': art/runtime/mirror/dex_cache.h:215:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:215:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 215 | return OFFSET_OF_OBJECT_MEMBER(DexCache, strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::PreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:219:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:219:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 219 | return OFFSET_OF_OBJECT_MEMBER(DexCache, preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:223:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:223:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 223 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:227:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:227:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 227 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:231:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:231:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 231 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:235:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:235:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 235 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::ResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:239:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:239:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 239 | return OFFSET_OF_OBJECT_MEMBER(DexCache, resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumStringsOffset()': art/runtime/mirror/dex_cache.h:243:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:243:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 243 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumPreResolvedStringsOffset()': art/runtime/mirror/dex_cache.h:247:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:247:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_preresolved_strings_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedTypesOffset()': art/runtime/mirror/dex_cache.h:251:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:251:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 251 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedFieldsOffset()': art/runtime/mirror/dex_cache.h:255:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:255:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 255 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_fields_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodsOffset()': art/runtime/mirror/dex_cache.h:259:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:259:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 259 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_methods_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedMethodTypesOffset()': art/runtime/mirror/dex_cache.h:263:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:263:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_method_types_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In static member function 'static constexpr art::MemberOffset art::mirror::DexCache::NumResolvedCallSitesOffset()': art/runtime/mirror/dex_cache.h:267:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:267:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 267 | return OFFSET_OF_OBJECT_MEMBER(DexCache, num_resolved_call_sites_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'const art::DexFile* art::mirror::DexCache::GetDexFile()': art/runtime/mirror/dex_cache.h:445:64: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:445:40: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 445 | return GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h: In member function 'void art::mirror::DexCache::SetDexFile(const art::DexFile*)': art/runtime/mirror/dex_cache.h:449:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache.h:449:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 449 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(DexCache, dex_file_), dex_file); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k32; size_t = long unsigned int]' art/runtime/thread.h:704:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ art/runtime/thread.h: In instantiation of 'static constexpr art::ThreadOffset art::Thread::ThreadOffsetFromTlsPtr(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]': art/runtime/thread.h:714:48: required from 'static art::ThreadOffset art::Thread::QuickEntryPointOffset(size_t) [with art::PointerSize pointer_size = art::PointerSize::k64; size_t = long unsigned int]' art/runtime/thread.h:707:53: required from here art/runtime/thread.h:692:35: warning: 'offsetof' within non-standard-layout type 'art::Thread' is conditionally-supported [-Winvalid-offsetof] 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); art/runtime/thread.h:692:19: note: in expansion of macro 'OFFSETOF_MEMBER' 692 | size_t base = OFFSETOF_MEMBER(Thread, tlsPtr_); | ^~~~~~~~~~~~~~~ In file included from art/libartbase/base/bit_vector.cc:17: art/libartbase/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/iterator:61, from art/libartbase/base/bit_vector.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::CountOffset()': art/runtime/mirror/string.h:54:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:54:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 54 | return OFFSET_OF_OBJECT_MEMBER(String, count_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In static member function 'static constexpr art::MemberOffset art::mirror::String::ValueOffset()': art/runtime/mirror/string.h:58:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:58:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 58 | return OFFSET_OF_OBJECT_MEMBER(String, value_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetCount(int32_t)': art/runtime/mirror/string.h:98:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:98:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 98 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/runtime/arch/mips/instruction_set_features_mips.h:20, from art/dex2oat/dex2oat.cc:120: art/runtime/mirror/string.h: In member function 'void art::mirror::String::SetHashCode(int32_t)': art/runtime/mirror/string.h:247:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); libbase/include/android-base/logging.h:259:64: note: in definition of macro 'CHECK_OP' 259 | for (auto _values = ::android::base::MakeEagerEvaluator(LHS, RHS); \ | ^~~ libbase/include/android-base/logging.h:331:40: note: in expansion of macro 'CHECK_EQ' 331 | if (::android::base::kEnableDChecks) CHECK_EQ(x, y) | ^~~~~~~~ art/runtime/mirror/string.h:247:5: note: in expansion of macro 'DCHECK_EQ' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:247:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 247 | DCHECK_EQ(0, GetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:54: warning: 'offsetof' within non-standard-layout type 'art::mirror::String' is conditionally-supported [-Winvalid-offsetof] 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/string.h:248:30: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 248 | SetField32(OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/utils.h:32, from art/libartbase/base/utils.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/arena_bit_vector.h:21: art/libartbase/base/bit_vector.h:51:12: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 51 | std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/libartbase/base/arena_object.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/runtime/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(); | ^~~~~~~~~ host C++: libartbase <= art/libartbase/base/zip_archive.cc In file included from art/cmdline/cmdline_parse_result.h:21: 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]' art/dex2oat/dex2oat_options.cc:216:19: required from here 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] art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSuperClass(art::ObjPtr)': art/runtime/mirror/class-inl.h:76:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:76:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 76 | GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:80:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:80:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 80 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, super_class_), new_super_class); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/arch/instruction_set.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetCopiedMethodsStartOffset()': art/runtime/mirror/class-inl.h:113:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:113:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 113 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'uint32_t art::mirror::Class::GetVirtualMethodsStartOffset()': art/runtime/mirror/class-inl.h:127:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:127:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 127 | GetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetMethodsPtr()': art/runtime/mirror/class-inl.h:200:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:200:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 200 | static_cast(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_)))); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/allocator.h_operator_out.cc art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetMethodsPtrUnchecked(art::LengthPrefixedArray*, uint32_t, uint32_t)': art/runtime/mirror/class-inl.h:261:45: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:261:21: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 261 | SetField64(OFFSET_OF_OBJECT_MEMBER(Class, methods_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:263:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 263 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, copied_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:48: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:265:24: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 265 | SetFieldShort(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_offset_), | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::ObjPtr art::mirror::Class::GetVTableDuringLinking()': art/runtime/mirror/class-inl.h:297:63: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:297:39: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 297 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetVTable(art::ObjPtr)': art/runtime/mirror/class-inl.h:301:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:301:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 301 | SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, vtable_), new_vtable); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetObjectSize(uint32_t)': art/runtime/mirror/class-inl.h:406:52: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:406:28: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 406 | return SetField32(OFFSET_OF_OBJECT_MEMBER(Class, object_size_), new_object_size); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtr()': art/runtime/mirror/class-inl.h:662:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:662:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 662 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:699:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:699:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 699 | return SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetIFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:703:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:703:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 703 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetSFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:707:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:707:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 707 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'art::LengthPrefixedArray* art::mirror::Class::GetIFieldsPtrUnchecked()': art/runtime/mirror/class-inl.h:711:78: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:711:54: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 711 | return GetFieldPtr*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/macros.h:23: art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtr(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:721:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); libbase/include/android-base/macros.h:120:49: note: in definition of macro 'LIKELY' 120 | #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) | ^~~ libbase/include/android-base/logging.h:329:40: note: in expansion of macro 'CHECK' 329 | if (::android::base::kEnableDChecks) CHECK(x) | ^~~~~ art/runtime/mirror/class-inl.h:720:3: note: in expansion of macro 'DCHECK' 720 | DCHECK((IsRetired() && new_sfields == nullptr) || | ^~~~~~ art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:721:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 721 | GetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_)) == nullptr); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:722:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:722:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 722 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetSFieldsPtrUnchecked(art::LengthPrefixedArray*)': art/runtime/mirror/class-inl.h:726:65: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:726:41: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 726 | SetFieldPtr(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClinitThreadId(pid_t)': art/runtime/mirror/class-inl.h:744:49: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:744:25: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 744 | SetField32Transaction(OFFSET_OF_OBJECT_MEMBER(Class, clinit_thread_id_), new_clinit_thread_id); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetName(art::ObjPtr)': art/runtime/mirror/class-inl.h:755:53: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:755:29: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 755 | SetFieldObjectTransaction(OFFSET_OF_OBJECT_MEMBER(Class, name_), name); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libartbase <= out/host/linux-x86/obj/SHARED_LIBRARIES/libartbase_intermediates/base/unix_file/fd_file.h_operator_out.cc art/libartbase/base/data_hash.h: In member function 'size_t art::DataHash::operator()(const Container&) const [with Container = std::__cxx11::basic_string]': art/libartbase/base/data_hash.h:77:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 77 | k1 ^= tail[2] << 16; | ~~~^~~~~~~~~~~~~~~~ art/libartbase/base/data_hash.h:79:9: note: here 79 | case 2: | ^~~~ art/libartbase/base/data_hash.h:80:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 80 | k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ art/libartbase/base/data_hash.h:82:9: note: here 82 | case 1: | ^~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/art_dex_file_loader.cc In file included from art/libartbase/base/mem_map.h:28, from art/libartbase/base/zip_archive.h:27, from art/libartbase/base/zip_archive.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from system/core/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 | ^~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetClassFlags(uint32_t)': art/runtime/mirror/class-inl.h:920:46: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:920:22: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 920 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:47: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:922:23: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 922 | SetField32(OFFSET_OF_OBJECT_MEMBER(Class, class_flags_), new_flags); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from art/libartbase/base/unix_file/fd_file.h:24, from art/libartbase/base/zip_archive.cc:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetRecursivelyInitialized()': art/runtime/mirror/class-inl.h:1187:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1187:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1187 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h: In member function 'void art::mirror::Class::SetHasDefaultMethods()': art/runtime/mirror/class-inl.h:1193:55: warning: 'offsetof' within non-standard-layout type 'art::mirror::Class' is conditionally-supported [-Winvalid-offsetof] 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/class-inl.h:1193:31: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 1193 | uint32_t flags = GetField32(OFFSET_OF_OBJECT_MEMBER(Class, access_flags_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/compact_dex_file.cc In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/art_dex_file_loader.h:25, from art/libdexfile/dex/art_dex_file_loader.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/mem_map.h:28, from art/libdexfile/dex/art_dex_file_loader.cc:25: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/compact_offset_table.cc host C++: libdexfile <= art/libdexfile/dex/descriptors_names.cc host C++: libdexfile <= art/libdexfile/dex/dex_file.cc host C++: libdexfile <= art/libdexfile/dex/dex_file_exception_helpers.cc art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::PendingNextOffset()': art/runtime/mirror/reference.h:53:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:53:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 53 | return OFFSET_OF_OBJECT_MEMBER(Reference, pending_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueOffset()': art/runtime/mirror/reference.h:56:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:56:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 56 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::QueueNextOffset()': art/runtime/mirror/reference.h:59:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:59:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 59 | return OFFSET_OF_OBJECT_MEMBER(Reference, queue_next_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::Reference::ReferentOffset()': art/runtime/mirror/reference.h:62:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::Reference' is conditionally-supported [-Winvalid-offsetof] 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:62:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 62 | return OFFSET_OF_OBJECT_MEMBER(Reference, referent_); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/reference.h: In static member function 'static art::MemberOffset art::mirror::FinalizerReference::ZombieOffset()': art/runtime/mirror/reference.h:121:36: warning: 'offsetof' within non-standard-layout type 'art::mirror::FinalizerReference' is conditionally-supported [-Winvalid-offsetof] 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/reference.h:121:12: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 121 | return OFFSET_OF_OBJECT_MEMBER(FinalizerReference, zombie_); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included 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:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/dex_file_layout.cc In file included from art/libdexfile/dex/primitive.h:25, from art/libdexfile/dex/descriptors_names.h:22, from art/libdexfile/dex/descriptors_names.cc:19: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/leb128.h:26, from art/libdexfile/dex/compact_offset_table.cc:20: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/dex_file_loader.cc host C++: libdexfile <= art/libdexfile/dex/dex_file_tracking_registrar.cc host C++: libdexfile <= art/libdexfile/dex/dex_file_verifier.cc 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; | ^~~~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file_layout.cc:22: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31, from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/code_item_accessors-inl.h:23: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/dex_instruction.cc In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from system/core/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/modifiers.cc host C++: libdexfile <= art/libdexfile/dex/primitive.cc art/runtime/mirror/method_type.h: In static member function 'static art::MemberOffset art::mirror::MethodType::FormOffset()': art/runtime/mirror/method_type.h:74:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodType' is conditionally-supported [-Winvalid-offsetof] 74 | return MemberOffset(OFFSETOF_MEMBER(MethodType, form_)); art/runtime/mirror/method_type.h:74:25: note: in expansion of macro 'OFFSETOF_MEMBER' 74 | return MemberOffset(OFFSETOF_MEMBER(MethodType, form_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_type.h: In static member function 'static art::MemberOffset art::mirror::MethodType::MethodDescriptorOffset()': art/runtime/mirror/method_type.h:78:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodType' is conditionally-supported [-Winvalid-offsetof] 78 | return MemberOffset(OFFSETOF_MEMBER(MethodType, method_descriptor_)); art/runtime/mirror/method_type.h:78:25: note: in expansion of macro 'OFFSETOF_MEMBER' 78 | return MemberOffset(OFFSETOF_MEMBER(MethodType, method_descriptor_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_type.h: In static member function 'static art::MemberOffset art::mirror::MethodType::PTypesOffset()': art/runtime/mirror/method_type.h:82:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodType' is conditionally-supported [-Winvalid-offsetof] 82 | return MemberOffset(OFFSETOF_MEMBER(MethodType, p_types_)); art/runtime/mirror/method_type.h:82:25: note: in expansion of macro 'OFFSETOF_MEMBER' 82 | return MemberOffset(OFFSETOF_MEMBER(MethodType, p_types_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_type.h: In static member function 'static art::MemberOffset art::mirror::MethodType::RTypeOffset()': art/runtime/mirror/method_type.h:86:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodType' is conditionally-supported [-Winvalid-offsetof] 86 | return MemberOffset(OFFSETOF_MEMBER(MethodType, r_type_)); art/runtime/mirror/method_type.h:86:25: note: in expansion of macro 'OFFSETOF_MEMBER' 86 | return MemberOffset(OFFSETOF_MEMBER(MethodType, r_type_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_type.h: In static member function 'static art::MemberOffset art::mirror::MethodType::WrapAltOffset()': art/runtime/mirror/method_type.h:90:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodType' is conditionally-supported [-Winvalid-offsetof] 90 | return MemberOffset(OFFSETOF_MEMBER(MethodType, wrap_alt_)); art/runtime/mirror/method_type.h:90:25: note: in expansion of macro 'OFFSETOF_MEMBER' 90 | return MemberOffset(OFFSETOF_MEMBER(MethodType, wrap_alt_)); | ^~~~~~~~~~~~~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/method_handle_impl.h: In member function 'art::mirror::MethodHandle::Kind art::mirror::MethodHandle::GetHandleKind()': art/runtime/mirror/method_handle_impl.h:64:68: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 64 | const int32_t handle_kind = GetField32(OFFSET_OF_OBJECT_MEMBER(MethodHandle, handle_kind_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h:64:44: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 64 | const int32_t handle_kind = GetField32(OFFSET_OF_OBJECT_MEMBER(MethodHandle, handle_kind_)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/method_handle_impl.h: In member function 'art::ArtField* art::mirror::MethodHandle::GetTargetField()': art/runtime/mirror/method_handle_impl.h:76:44: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 76 | GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h:76:20: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 76 | GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In member function 'art::ArtMethod* art::mirror::MethodHandle::GetTargetMethod()': art/runtime/mirror/method_handle_impl.h:81:44: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 81 | GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h:81:20: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 81 | GetField64(OFFSET_OF_OBJECT_MEMBER(MethodHandle, art_field_or_method_))); | ^~~~~~~~~~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandle::CachedSpreadInvokerOffset()': art/runtime/mirror/method_handle_impl.h:103:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 103 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, cached_spread_invoker_)); art/runtime/mirror/method_handle_impl.h:103:25: note: in expansion of macro 'OFFSETOF_MEMBER' 103 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, cached_spread_invoker_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandle::NominalTypeOffset()': art/runtime/mirror/method_handle_impl.h:106:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 106 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, nominal_type_)); art/runtime/mirror/method_handle_impl.h:106:25: note: in expansion of macro 'OFFSETOF_MEMBER' 106 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, nominal_type_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandle::MethodTypeOffset()': art/runtime/mirror/method_handle_impl.h:109:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 109 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, method_type_)); art/runtime/mirror/method_handle_impl.h:109:25: note: in expansion of macro 'OFFSETOF_MEMBER' 109 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, method_type_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandle::ArtFieldOrMethodOffset()': art/runtime/mirror/method_handle_impl.h:112:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 112 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, art_field_or_method_)); art/runtime/mirror/method_handle_impl.h:112:25: note: in expansion of macro 'OFFSETOF_MEMBER' 112 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, art_field_or_method_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandle::HandleKindOffset()': art/runtime/mirror/method_handle_impl.h:115:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandle' is conditionally-supported [-Winvalid-offsetof] 115 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, handle_kind_)); art/runtime/mirror/method_handle_impl.h:115:25: note: in expansion of macro 'OFFSETOF_MEMBER' 115 | return MemberOffset(OFFSETOF_MEMBER(MethodHandle, handle_kind_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/method_handle_impl.h: In static member function 'static art::MemberOffset art::mirror::MethodHandleImpl::InfoOffset()': art/runtime/mirror/method_handle_impl.h:133:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::MethodHandleImpl' is conditionally-supported [-Winvalid-offsetof] 133 | return MemberOffset(OFFSETOF_MEMBER(MethodHandleImpl, info_)); art/runtime/mirror/method_handle_impl.h:133:25: note: in expansion of macro 'OFFSETOF_MEMBER' 133 | return MemberOffset(OFFSETOF_MEMBER(MethodHandleImpl, info_)); | ^~~~~~~~~~~~~~~ art/runtime/mirror/call_site.h: In static member function 'static art::MemberOffset art::mirror::CallSite::TargetOffset()': art/runtime/mirror/call_site.h:36:41: warning: 'offsetof' within non-standard-layout type 'art::mirror::CallSite' is conditionally-supported [-Winvalid-offsetof] 36 | return MemberOffset(OFFSETOF_MEMBER(CallSite, target_)); art/runtime/mirror/call_site.h:36:25: note: in expansion of macro 'OFFSETOF_MEMBER' 36 | return MemberOffset(OFFSETOF_MEMBER(CallSite, target_)); | ^~~~~~~~~~~~~~~ In file included from art/runtime/art_field-inl.h:30: art/runtime/mirror/dex_cache-inl.h: In constructor 'art::mirror::DexCachePair::DexCachePair(art::ObjPtr, uint32_t)': art/runtime/mirror/dex_cache-inl.h:45:65: warning: declaration of 'index' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 45 | inline DexCachePair::DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~^~~~~ art/runtime/mirror/dex_cache.h:51:12: note: shadowed declaration is here 51 | uint32_t index; | ^~~~~ art/runtime/mirror/dex_cache-inl.h:45:48: warning: declaration of 'object' shadows a member of 'art::mirror::DexCachePair' [-Wshadow] 45 | inline DexCachePair::DexCachePair(ObjPtr object, uint32_t index) | ~~~~~~~~~~^~~~~~ art/runtime/mirror/dex_cache.h:50:13: note: shadowed declaration is here 50 | GcRoot object; | ^~~~~~ In file included from art/libartbase/base/hash_set.h:33: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:101:50: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31, from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/dex_instruction.cc:26: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:161:52: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' art/runtime/mirror/dex_cache.h: In instantiation of 'struct art::mirror::DexCachePair': /usr/include/c++/13.2.1/atomic:205:5: required from 'constexpr const int std::atomic >::_S_min_alignment' /usr/include/c++/13.2.1/atomic:209:11: required from 'constexpr const int std::atomic >::_S_alignment' /usr/include/c++/13.2.1/atomic:211:33: required from 'struct std::atomic >' art/runtime/mirror/dex_cache-inl.h:197:65: required from here art/runtime/mirror/dex_cache.h:50:13: warning: ignoring packed attribute because of unpacked non-POD field 'art::GcRoot art::mirror::DexCachePair::object' In file included from art/libdexfile/dex/primitive.h:25, from art/libdexfile/dex/primitive.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= art/libdexfile/dex/signature.cc art/runtime/mirror/dex_cache-inl.h: In member function 'art::ObjPtr art::mirror::DexCache::GetLocation()': art/runtime/mirror/dex_cache-inl.h:441:57: warning: 'offsetof' within non-standard-layout type 'art::mirror::DexCache' is conditionally-supported [-Winvalid-offsetof] 441 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(DexCache, location_)); art/runtime/mirror/object.h:67:18: note: in expansion of macro 'OFFSETOF_MEMBER' 67 | MemberOffset(OFFSETOF_MEMBER(type, field)) | ^~~~~~~~~~~~~~~ art/runtime/mirror/dex_cache-inl.h:441:33: note: in expansion of macro 'OFFSET_OF_OBJECT_MEMBER' 441 | return GetFieldObject(OFFSET_OF_OBJECT_MEMBER(DexCache, location_)); | ^~~~~~~~~~~~~~~~~~~~~~~ host C++: libdexfile <= art/libdexfile/dex/standard_dex_file.cc host C++: libdexfile <= art/libdexfile/dex/type_lookup_table.cc host C++: libdexfile <= art/libdexfile/dex/utf.cc In file included from art/libdexfile/dex/utf.h:20, from art/libdexfile/dex/utf.cc:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/signature-inl.h:22: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included 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:17: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/value_object.h:20, from art/libdexfile/dex/dex_file.h:31: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libartbase/base/leb128.h:26, from art/libdexfile/dex/type_lookup_table.cc:23: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ In file included from art/libdexfile/dex/dex_file.h:30, from art/libdexfile/dex/dex_file-inl.h:20, from art/libdexfile/dex/type_lookup_table.cc:24: art/libartbase/base/macros.h:50:1: warning: multi-line comment [-Wcomment] 50 | // #define OFFSETOF_HELPER(t, f) \ | ^ art/libartbase/base/macros.h:52:1: warning: multi-line comment [-Wcomment] 52 | // #define OFFSETOF_MEMBER(t, f) \ | ^ host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file.h_operator_out.cc host C++: libdexfile <= out/host/linux-x86/obj/SHARED_LIBRARIES/libdexfile_intermediates/dex/dex_file_layout.h_operator_out.cc In file included from art/libdexfile/dex/dex_file.h:32, from art/libdexfile/dex/compact_dex_file.h:21, from art/libdexfile/dex/art_dex_file_loader.cc:31: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/libdexfile/dex/art_dex_file_loader.h:21: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_algobase.h:65, from /usr/include/c++/13.2.1/bits/hashtable_policy.h:36, from /usr/include/c++/13.2.1/bits/hashtable.h:35, from /usr/include/c++/13.2.1/bits/unordered_map.h:33, from /usr/include/c++/13.2.1/unordered_map:41, from /usr/include/c++/13.2.1/functional:63, from libbase/include/android-base/logging.h:60, from art/libartbase/base/casts.h:27, from art/libdexfile/dex/compact_dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 46 | using value_type = std::iterator::value_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:47:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 47 | using difference_type = std::iterator::difference_type; | ^~~~~~~~ /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from art/libdexfile/dex/dex_file.h:32: art/libdexfile/dex/class_iterator.h:44:35: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 44 | class ClassIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13.2.1/bits/stl_construct.h:61, from /usr/include/c++/13.2.1/bits/stl_tempbuf.h:61, from /usr/include/c++/13.2.1/memory:66, from art/libdexfile/dex/dex_file.h:20: /usr/include/c++/13.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ art/libdexfile/dex/class_iterator.h:46:27: warning: 'template