From: Davin McCall Date: Mon, 6 Jun 2016 07:31:48 +0000 (+0100) Subject: Suppress "invalid offsetof" warnings. X-Git-Tag: v0.01~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf9457539b331fe04732e00ec226fd41d1131ab0;p=oweals%2Fdinit.git Suppress "invalid offsetof" warnings. --- 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: