From owner-svn-src-all@FreeBSD.ORG Sat Jan 3 16:48:09 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFABDF0D; Sat, 3 Jan 2015 16:48:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC849144E; Sat, 3 Jan 2015 16:48:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t03Gm9Mr042015; Sat, 3 Jan 2015 16:48:09 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t03Gm9dX042014; Sat, 3 Jan 2015 16:48:09 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201501031648.t03Gm9dX042014@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sat, 3 Jan 2015 16:48:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276625 - head/sys/conf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 16:48:09 -0000 Author: imp Date: Sat Jan 3 16:48:08 2015 New Revision: 276625 URL: https://svnweb.freebsd.org/changeset/base/276625 Log: Always use -Wno-unknown-pragmas, not just for clang. Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Sat Jan 3 16:04:28 2015 (r276624) +++ head/sys/conf/kern.mk Sat Jan 3 16:48:08 2015 (r276625) @@ -7,6 +7,7 @@ CWARNFLAGS?= -Wall -Wredundant-decls -Wn -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \ -Wmissing-include-dirs -fdiagnostics-show-option \ + -Wno-unknown-pragmas \ ${CWARNEXTRA} # # The following flags are next up for working on: @@ -27,8 +28,7 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error- # some incentive to fix them eventually. CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \ -Wno-error-parentheses-equality -Wno-error-unused-function \ - -Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses \ - -Wno-unknown-pragmas + -Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses .endif .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300