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.
This commit is contained in:
@@ -1051,7 +1051,7 @@ CXXDEPENDINCLUDE != CcCmd -v -x c++ /dev/null -fsyntax-only \
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(GccWarningOptions)
|
#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
|
#endif
|
||||||
|
|
||||||
#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
|
#define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
|
||||||
@@ -1059,10 +1059,10 @@ CXXDEPENDINCLUDE != CcCmd -v -x c++ /dev/null -fsyntax-only \
|
|||||||
|
|
||||||
#define CplusplusLibC -lstdc++
|
#define CplusplusLibC -lstdc++
|
||||||
#ifndef CplusplusOptions
|
#ifndef CplusplusOptions
|
||||||
#define CplusplusOptions -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch
|
#define CplusplusOptions GccWarningOptions
|
||||||
#endif
|
#endif
|
||||||
#ifndef LibraryCplusplusOptions
|
#ifndef LibraryCplusplusOptions
|
||||||
#define LibraryCplusplusOptions -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch
|
#define LibraryCplusplusOptions GccWarningOptions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DependFileName .depend
|
#define DependFileName .depend
|
||||||
|
|||||||
Reference in New Issue
Block a user