Date: Thu, 14 Aug 2014 16:01:46 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269981 - head/sys/conf Message-ID: <201408141601.s7EG1kZp067484@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Aug 14 16:01:46 2014 New Revision: 269981 URL: http://svnweb.freebsd.org/changeset/base/269981 Log: Disable all inline warnings on gcc >= 4.3. Not sure exactly where the cutover is, but we need better tools to cope with inline tuning per compiler version than we have. This is a quick bandaid until such tools are around. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Thu Aug 14 16:01:38 2014 (r269980) +++ head/sys/conf/kern.mk Thu Aug 14 16:01:46 2014 (r269981) @@ -32,6 +32,10 @@ CWARNEXTRA?= -Wno-error-tautological-com -Wno-error-parentheses-equality -Wno-error-unused-function .endif +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300 +CWARNEXTRA?= -Wno-inline +.endif + # External compilers may not support our format extensions. Allow them # to be disabled. WARNING: format checking is disabled in this case. .if ${MK_FORMAT_EXTENSIONS} == "no"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408141601.s7EG1kZp067484>