mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
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:
parent
c63acbc91a
commit
f840359778
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue