From cba7ed1db9ce9069ec26924e543bca8873430750 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 5 Aug 2021 20:34:08 +0200 Subject: [PATCH] added -Wno-invalid-offset in Makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2412fdba..0d9bf706 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ ifeq (${TOOLCHAIN},gcc) CXXFLAGS_EARLY += -march=native -fPIC CXXFLAGS_EARLY += -W -Wall -Wextra -Werror -pedantic CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized + CXXFLAGS_EARLY += -Wno-invalid-offsetof endif ifeq (${TOOLCHAIN},mingw) @@ -99,6 +100,7 @@ ifeq (${TOOLCHAIN},mingw) CXXFLAGS_EARLY += -march=native CXXFLAGS_EARLY += -W -Wall -Wextra -Werror CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized + CXXFLAGS_EARLY += -Wno-invalid-offsetof endif