From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D83B55594 for ; Mon, 27 Jun 2016 18:51:58 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 27 Jun 2016 09:51:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,537,1459839600"; d="scan'208";a="995953508" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 27 Jun 2016 09:51:59 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 27 Jun 2016 09:51:57 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.58]) by fmsmsx101.amr.corp.intel.com ([169.254.1.196]) with mapi id 14.03.0248.002; Mon, 27 Jun 2016 09:51:57 -0700 From: "Wiles, Keith" To: "Richardson, Bruce" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler Thread-Index: AQHRz8MXEkbKBjwtP0+gzvUOHxHaMp/9drWA///ynwCAADr2AIAAVuIA//+vQgA= Date: Mon, 27 Jun 2016 16:51:56 +0000 Message-ID: References: <1757902E-701B-4C42-BF80-285F37F50526@intel.com> <1466956452-91772-2-git-send-email-keith.wiles@intel.com> <20160627084649.GB19588@bricha3-MOBL3> <850EC958-78ED-47B1-9D5C-3D06CE5D0B04@intel.com> <20160627164056.GF17808@bricha3-MOBL3> In-Reply-To: <20160627164056.GF17808@bricha3-MOBL3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.89.98] Content-Type: text/plain; charset="utf-8" Content-ID: <7420E82F978A7C4697DAD8EBF6DC6256@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 16:51:59 -0000 T24gNi8yNy8xNiwgMTE6NDAgQU0sICJSaWNoYXJkc29uLCBCcnVjZSIgPGJydWNlLnJpY2hhcmRz b25AaW50ZWwuY29tPiB3cm90ZToNCg0KPk9uIE1vbiwgSnVuIDI3LCAyMDE2IGF0IDA1OjI5OjU5 UE0gKzAxMDAsIFdpbGVzLCBLZWl0aCB3cm90ZToNCj4+IE9uIDYvMjcvMTYsIDc6NTggQU0sICJk ZXYgb24gYmVoYWxmIG9mIFdpbGVzLCBLZWl0aCIgPGRldi1ib3VuY2VzQGRwZGsub3JnIG9uIGJl aGFsZiBvZiBrZWl0aC53aWxlc0BpbnRlbC5jb20+IHdyb3RlOg0KPj4gDQo+PiA+DQo+PiA+T24g Ni8yNy8xNiwgMzo0NiBBTSwgIlJpY2hhcmRzb24sIEJydWNlIiA8YnJ1Y2UucmljaGFyZHNvbkBp bnRlbC5jb20+IHdyb3RlOg0KPj4gPg0KPj4gPj5PbiBTdW4sIEp1biAyNiwgMjAxNiBhdCAxMDo1 NDoxMkFNIC0wNTAwLCBLZWl0aCBXaWxlcyB3cm90ZToNCj4+ID4+PiBMYXRlc3QgY2xhbmcgY29t cGlsZXIgMy44LjAgb24gbGF0ZXN0IHVwZGF0ZSBvZiBVYnVudHUNCj4+ID4+PiBjcmVhdGVzIGEg ZmV3IG1vcmUgd2FybmluZ3Mgb24gLVdhcnJheS1ib3VuZHMgYW5kIGV4dHJhDQo+PiA+Pj4gKCkg YXJvdW5kICdpZicgZXhwcmVzc2lvbnMuDQo+PiA+Pj4gDQo+PiA+Pj4gU2lnbmVkLW9mZi1ieTog S2VpdGggV2lsZXMgPGtlaXRoLnd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