From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=nZkS2RMxfp4Yc8yeKwO5+vIQJK700lRD+EjpdVlV1Eo=; b=SZFvdzVtuscTj6pr3Aufn0HuDlkawZasrujMqTO+8e6cJtxEwPmkXK6P8gkksC5BOt NhSe6ZZ1b6ilcCDhQDTIwOEvnqkC74RJU+gG5BN1lRs0tbyHPJy3Cn1JCnFzyja5sbT4 jNQgjdXYEVqjlqIdNDkyKbC4LNizPBBZwR/NrJ9fEGZcqcAjZyFevD5+tLa7Z3+6fwQV FWtf0Xepvdx8WHC21TweuCOeeX0+XxOQTwH+xBJAEdL3/DT7kFi7zJENE9ch3SV0ecSm rGm9Gn6G+zJyyikpIoAZUPVe+Axia6ElvOqHMvG0bA8h+jNVgkhqIAeoL6FTirkHJB+W 1YpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=nZkS2RMxfp4Yc8yeKwO5+vIQJK700lRD+EjpdVlV1Eo=; b=Vr/GkMcVOWI4xZtIO/6IV5As0P+403Cp51pvacGd+TH2V/SRv72euOiX8JXS0jg0MC LMaNlRY9G5yRa+Fck+IpYf2u+h7yfUwTRfMlcF37ejZqbvKMryia0TsZQ1olO/tYXfd+ iCSATAlDP0xYWb4lWM77TYHbMbinf0/fqV7apoF+5ZUOAL0okTEELix6eCjwBr1PkNCC QYbM0tqdAyGAgbQR7QVXhACV8SZ6QomdQhJPmvLcHmWrN5Dw6SSWFH1lTtB6qJNC1g6W Rpux0bCRXJ+GJ7ZlAXYWv32ybPSYE7M29RR9hnhPPDqhNpgxWnAPYb58Mpeen8QXkFJD 3z/A== X-Gm-Message-State: ALyK8tLJRx2iFfuFogQtG5+66f7WO8TaEXodzJhJRiyGwsp0xM8Vruy7iDOBUlBmY2f5VD/M X-Received: by 10.28.142.144 with SMTP id q138mr9519589wmd.30.1467017315413; Mon, 27 Jun 2016 01:48:35 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id bb4sm13594581wjb.32.2016.06.27.01.48.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jun 2016 01:48:34 -0700 (PDT) From: Thomas Monjalon To: Keith Wiles Cc: dev@dpdk.org Date: Mon, 27 Jun 2016 10:48:33 +0200 Message-ID: <2643985.dK0imEXM3b@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1466956452-91772-2-git-send-email-keith.wiles@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler 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: Mon, 27 Jun 2016 08:48:35 -0000 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.