Suppress "invalid offsetof" warnings.
authorDavin McCall <davmac@davmac.org>
Mon, 6 Jun 2016 07:31:48 +0000 (08:31 +0100)
committerDavin McCall <davmac@davmac.org>
Mon, 6 Jun 2016 07:31:48 +0000 (08:31 +0100)
mconfig

diff --git a/mconfig b/mconfig
index 8cf17f21429afcd74fd53f2604798384f4482e3d..3bdb14c1e47554068997f78d29fcbaa595be5670 100644 (file)
--- 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: