From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id 0863CB7E9 for ; Sat, 21 Feb 2015 02:55:28 +0100 (CET) Received: by pdbfp1 with SMTP id fp1so11481286pdb.9 for ; Fri, 20 Feb 2015 17:55:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=NMHyFskNRbiCbswliJAjkU1NuPYZEi1rJGXkX6Z45uc=; b=Xlv6x6H9HfR4q3S+1sePJd4+i05rD6SbPDD2SSeV2zJqt6Yo8PgYKL3E0z9zaLQPb9 UDb7I8ZbU+AfKa7kEHPMaFU5HDktLl/1sndpBzImB/t/xH0ZjLJzRLOAbGC/Asr8BAak CBpMgU9deJo4nHhCxPT8+lfvp0+Gf8MQRrf5uUet8Yf5eXLNfhs2GdQR7wC4Kw5axkw9 oLSVRCtWo6i/WG3OoA8U2KdnpqO+jkwYUj/5hWYRXsClTt4FwW1dLJ/ZlHbQX0j1yFda Vde9II8rbZYqMnzCE+D0O4y/0/wQ/qrmQEKTe/8+IqhHoHVe4Ao/MJYboXg8whZ2PAlP AdyA== X-Gm-Message-State: ALoCoQnS8pJJEROIzUt43Lv6mZjeITRcfUeqG4+Hi+586VsGzv8vR7uZScd4z6AbcSwiOms1tqV9 X-Received: by 10.70.40.144 with SMTP id x16mr909264pdk.148.1424483727118; Fri, 20 Feb 2015 17:55:27 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id hn4sm28258326pdb.58.2015.02.20.17.55.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 17:55:26 -0800 (PST) Date: Fri, 20 Feb 2015 17:55:21 -0800 From: Stephen Hemminger To: Panu Matilainen Message-ID: <20150220175521.334a63c9@urahara> In-Reply-To: <54DCBEB4.30005@redhat.com> References: <09445d1715453b2eff4399da998717b967b829b3.1423739602.git.pmatilai@redhat.com> <20150212063820.436b2221@uryu.home.lan> <54DCBEB4.30005@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Make -Werror optional X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 01:55:28 -0000 On Thu, 12 Feb 2015 16:54:44 +0200 Panu Matilainen wrote: > On 02/12/2015 04:38 PM, Stephen Hemminger wrote: > > On Thu, 12 Feb 2015 13:13:22 +0200 > > Panu Matilainen wrote: > > > >> This adds new CONFIG_RTE_ERROR_ON_WARNING config option to enable > >> fail-on-warning compile behavior, defaulting to off. > >> > >> Failing build on warnings is a useful developer tool but its bad > >> for release tarballs which can and do get built with newer > >> compilers than what was used/available during development. Compilers > >> routinely add new warnings so code which built silently with cc X > >> might no longer do so with X+1. This doesn't make the existing code > >> any more buggier and failing the build in this case does not help > >> not help improve code quality of an already released version either. Hopefully distro's like RHEL will build with -Werror enabled and not allow build to go through with errors.