From owner-svn-src-head@freebsd.org Sun Sep 4 19:03:58 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74573A9DC47; Sun, 4 Sep 2016 19:03:58 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 443F6FDC; Sun, 4 Sep 2016 19:03:58 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f42.google.com with SMTP id c198so118953613ith.1; Sun, 04 Sep 2016 12:03:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=e2zggkQK7AzZxFk0H4+fiVQX180axxHMntO9vDkto5M=; b=M0J63y6LN3/ogTOPqhVdTNud67X+s+H1RSXrgghahjZC6CmvLIYHBLONnm835n5iHS TSW7NWpmRW7dHg4pRc7VEB6/U80V8ZlihFMZIlYoCwtQboWqo2CUonMWsu3zseRGIlY+ 5PjmMv5+boYtnaWChxIQpH/mx29R1ub+ZJFYJ/czWk8DqT0oD6KJLQFnee7zvjcYyRhR uuA5WCIiplRX9VTCUazeeWUxr9oMSnuBl2mn+lKJGWF5x5LrNtTVP1xV2ZpgjsQedz/f 4wcKYt+EZDpnMAGUAURgLSg/mtDtGraSkfJhFtf7B9I4zuyS+inh0uaDC+wT6O4W0zkG fV3Q== X-Gm-Message-State: AE9vXwOCp/7f7ZjqG6CoXGURt6baXg4/cWhABdtxt01fR7Eon27hbNg9eOd5A11yg28kfw== X-Received: by 10.36.238.134 with SMTP id b128mr17477980iti.72.1473015434441; Sun, 04 Sep 2016 11:57:14 -0700 (PDT) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com. [209.85.214.51]) by smtp.gmail.com with ESMTPSA id r124sm7912111itc.19.2016.09.04.11.57.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 11:57:14 -0700 (PDT) Received: by mail-it0-f51.google.com with SMTP id i184so117865006itf.1; Sun, 04 Sep 2016 11:57:14 -0700 (PDT) X-Received: by 10.36.227.73 with SMTP id d70mr17167870ith.97.1473015433978; Sun, 04 Sep 2016 11:57:13 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.36.220.129 with HTTP; Sun, 4 Sep 2016 11:57:13 -0700 (PDT) In-Reply-To: <201609041755.u84HtMa5060050@repo.freebsd.org> References: <201609041755.u84HtMa5060050@repo.freebsd.org> From: Conrad Meyer Date: Sun, 4 Sep 2016 11:57:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r305392 - head/sys/conf To: Dimitry Andric Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 19:03:58 -0000 On Sun, Sep 4, 2016 at 10:55 AM, Dimitry Andric wrote: > Author: dim > Date: Sun Sep 4 17:55:22 2016 > New Revision: 305392 > URL: https://svnweb.freebsd.org/changeset/base/305392 > > Log: > For kernel builds, instead of suppressing certain clang warnings, make > them non-fatal, so there is some incentive to fix them eventually. > > Modified: > head/sys/conf/kern.mk > > Modified: head/sys/conf/kern.mk > ============================================================================== > --- head/sys/conf/kern.mk Sun Sep 4 17:50:23 2016 (r305391) > +++ head/sys/conf/kern.mk Sun Sep 4 17:55:22 2016 (r305392) > @@ -17,13 +17,13 @@ CWARNFLAGS?= -Wall -Wredundant-decls -Wn > # kernel where fixing them is more trouble than it is worth, or where there is > # a false positive. > .if ${COMPILER_TYPE} == "clang" > -NO_WCONSTANT_CONVERSION= -Wno-constant-conversion > -NO_WSHIFT_COUNT_NEGATIVE= -Wno-shift-count-negative > -NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow > -NO_WSELF_ASSIGN= -Wno-self-assign > -NO_WUNNEEDED_INTERNAL_DECL= -Wno-unneeded-internal-declaration > +NO_WCONSTANT_CONVERSION= -Wno-error-constant-conversion > +NO_WSHIFT_COUNT_NEGATIVE= -Wno-error-shift-count-negative > +NO_WSHIFT_COUNT_OVERFLOW= -Wno-error-shift-count-overflow > +NO_WSELF_ASSIGN= -Wno-error-self-assign > +NO_WUNNEEDED_INTERNAL_DECL= -Wno-error-unneeded-internal-declaration > NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized > -NO_WCAST_QUAL= -Wno-cast-qual > +NO_WCAST_QUAL= -Wno-error-cast-qual I like goal of the change. Shouldn't these be -Wno-error=cast-qual, etc., though? Best, Conrad