From f840359778e7e113eea9be9dcec88e70a89c99ba Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 15 Jun 2018 13:52:21 -0700 Subject: [PATCH] OpenBSD: tone down compiler warnings a bit So many of these are just noise. Someday maybe we can eliminate these, but for now they just obscure real problems. --- cde/config/cf/OpenBSD.cf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cde/config/cf/OpenBSD.cf b/cde/config/cf/OpenBSD.cf index 6f1310d7..add7c29e 100644 --- a/cde/config/cf/OpenBSD.cf +++ b/cde/config/cf/OpenBSD.cf @@ -1051,7 +1051,7 @@ CXXDEPENDINCLUDE != CcCmd -v -x c++ /dev/null -fsyntax-only \ #endif #if !defined(GccWarningOptions) -# define GccWarningOptions -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch +# define GccWarningOptions -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch -Wno-unused-result -Wno-deprecated-register #endif #define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB) @@ -1059,10 +1059,10 @@ CXXDEPENDINCLUDE != CcCmd -v -x c++ /dev/null -fsyntax-only \ #define CplusplusLibC -lstdc++ #ifndef CplusplusOptions -#define CplusplusOptions -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch +#define CplusplusOptions GccWarningOptions #endif #ifndef LibraryCplusplusOptions -#define LibraryCplusplusOptions -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch +#define LibraryCplusplusOptions GccWarningOptions #endif #define DependFileName .depend -- 2.25.1