From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 216492986 for ; Fri, 5 May 2017 18:38:04 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 946B020AB6; Fri, 5 May 2017 12:38:03 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 05 May 2017 12:38:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=xEVmUPe+DcEgw9t YTx78QZkW4WJ3qSJ4x5vM06MWR60=; b=H77o9y/I1Hw4gIFC2o9TqN46819dY1L 6N9yRG57o5opGJNTfofjtvgS64vb8lCEdM+kN2XTy4aMNKGwuMQq0Ly79wZ5XPIX 6yhX31Pw38rUb7WIbVZFQsUTOJQVPgKpy7VzQbMP4+oQwsLZVopno39RxPk+OC1N 5bOA5mAo6C94= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=xEVmUPe+DcEgw9tYTx78QZkW4WJ3qSJ4x5vM06MWR60=; b=aM2vkxtr 9vja7nN+haGGfEPKkSGVnQoO7nYwiuZWliPgkE+AApRBfNgnTG3IwfpMQIQgDa/Q CwutGpm9St8YSc6ZQQ9e7Ja1Hbm4X1GC3mbMwhFa2Gz29ufGu+de9O8hegrJz5Uk gy3MqqLr5PCNwcloGiOD0zOQ3B2mitgnKX9DEcXpcfCDHETfSF6tcfq4PtU8Aozq iEx6XWq+4RlvgUcwDXuVUQqAa5VJf1xhFlKj6CzwVhLEDPKPT13C4vxrhY24uaWm 5IWU5p1HjLZ2rrngiApvEXJ3yBlctDTonLcs2OMO1dWOzTzq0RC0t9WVvltf3vUU qkLyXFa4FRx5jg== X-ME-Sender: X-Sasl-enc: q+/FA+BcaViJHCSbgSRkYiHrHmXNMIUR071+bHlWr88o 1494002283 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 51D937E8BA; Fri, 5 May 2017 12:38:03 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Fri, 05 May 2017 18:38:02 +0200 Message-ID: <2134695.mchbAGrloH@xps> In-Reply-To: <20170504153822.19461-1-bruce.richardson@intel.com> References: <20170504153822.19461-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 00/10] Enable DPDK core build with gcc 7 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2017 16:38:04 -0000 04/05/2017 17:38, Bruce Richardson: > Since GCC 7 is now yesterday's news :-), I figured we should try and make > DPDK compile successfully with that new version. The main difficulties are > because of new warnings being triggered. > > * New warnings for fall-though in case statements > * New warnings for possible truncation using snprintf > * New warnings about uninitialized values. > > This set of patches fixes or works around those new issues, fixing a couple of > bugs in the process, so that DPDK can compile using gcc 7. > > NOTE: this set only covers the basic DPDK libs, apps and tests. It does not > cover the example apps, which still have issues. > > Bruce Richardson (10): > mk: adjust gcc flags for new gcc 7 warnings > drivers/net: disable new gcc 7 warnings for base code > net/bnx2x: fix warnings about switch fall-through > net/ixgbe: fix gcc 7 warning for switch fallthrough > net/vmxnet3: fix compile error with gcc 7 > lib: fix gcc 7 warnings for switch fall-through > net: fix missing break inside conditional compile block > app/testpmd: document explicit switch fall-through > test/test: fix missing break in switch > test/test: fix gcc 7 compiler error Applied (with small space fixes), thanks