From: notaz Date: Mon, 16 Mar 2026 01:02:20 +0000 (+0200) Subject: try to avoid warning flood on android X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a74da031acab1c8533d8e9fe7f1f3890658abea;p=pcsx_rearmed.git try to avoid warning flood on android --- diff --git a/jni/Android.mk b/jni/Android.mk index 3e016ca9..8444e1f4 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -178,6 +178,9 @@ endif SOURCES_C += $(DYNAREC_DIR)/emu_if.c ifeq ($(HAVE_LIGHTREC),1) + ifeq ($(findstring clang,$(notdir $(TARGET_CC))),clang) + COREFLAGS += -Wno-initializer-overrides + endif COREFLAGS += -DLIGHTREC -DLIGHTREC_STATIC -DLIGHTREC_CODE_INV=0 EXTRA_INCLUDES += $(DEPS_DIR)/lightning/include \ $(DEPS_DIR)/lightrec \ diff --git a/libpcsxcore/psxcommon.h b/libpcsxcore/psxcommon.h index 845fc61d..d181eb27 100644 --- a/libpcsxcore/psxcommon.h +++ b/libpcsxcore/psxcommon.h @@ -80,7 +80,6 @@ typedef uint8_t boolean; #ifndef _WIN32 #define strnicmp strncasecmp #endif -#define __inline inline // Enables NLS/internationalization if active #ifdef ENABLE_NLS