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" _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"