From: Jon Trulson Date: Fri, 15 Jun 2018 01:05:40 +0000 (+0000) Subject: FreeBSD: turn off some warnings X-Git-Tag: 2.3.0~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55b4e2f24014a99ae4e0cdfcb8c1242ed7208827;p=oweals%2Fcde.git FreeBSD: turn off some warnings Someday these can be addressed, but for now they are just noise. --- diff --git a/cde/config/cf/FreeBSD.cf b/cde/config/cf/FreeBSD.cf index 1b56256b..e327e3fa 100644 --- a/cde/config/cf/FreeBSD.cf +++ b/cde/config/cf/FreeBSD.cf @@ -182,7 +182,8 @@ USE_GCC = UseGcc /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */ #ifndef DefaultGcc2i386Opt #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5) -#define DefaultGcc2i386Opt -O2 -fno-strict-aliasing +#define DefaultGcc2i386Opt -O2 -fno-strict-aliasing -Wno-write-strings \ + -Wno-unused-result -Wno-deprecated-register #endif #endif