From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/2] fix building with clang-3.8.0 compiler Date: Mon, 27 Jun 2016 10:48:33 +0200 Message-ID: <2643985.dK0imEXM3b@xps13> References: <1466956452-91772-1-git-send-email-keith.wiles@intel.com> <1466956452-91772-2-git-send-email-keith.wiles@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Keith Wiles Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 906255A90 for ; Mon, 27 Jun 2016 10:48:35 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id a66so104496547wme.0 for ; Mon, 27 Jun 2016 01:48:35 -0700 (PDT) In-Reply-To: <1466956452-91772-2-git-send-email-keith.wiles@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-26 10:54, Keith Wiles: > Latest clang compiler 3.8.0 on latest update of Ubuntu > creates a few more warnings on -Warray-bounds and extra > () around 'if' expressions. The goal of compiler checks is to fix the code. Why disabling these checks instead of fixing the code? If they are false positive, they need to be justified and limited to some compiler versions.