From bf9457539b331fe04732e00ec226fd41d1131ab0 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Mon, 6 Jun 2016 08:31:48 +0100 Subject: [PATCH] Suppress "invalid offsetof" warnings. --- mconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mconfig b/mconfig index 8cf17f2..3bdb14c 100644 --- a/mconfig +++ b/mconfig @@ -5,7 +5,7 @@ # GCC. Note with GCC 5,5.1,5.2 the new C++11 ABI is buggy. CXX=g++ -CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -Os -Wall -fno-rtti +CXXOPTS=-D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -Os -Wall -Wno-invalid-offsetof -fno-rtti EXTRA_LIBS= # OpenBSD, tested with GCC 4.9.3 and gmake: -- 2.25.1