From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 25604559C for ; Mon, 27 Jun 2016 14:59:07 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 27 Jun 2016 05:59:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,536,1459839600"; d="scan'208";a="1005926147" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 27 Jun 2016 05:59:00 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 27 Jun 2016 05:58:59 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.58]) by fmsmsx120.amr.corp.intel.com ([169.254.15.153]) with mapi id 14.03.0248.002; Mon, 27 Jun 2016 05:58:59 -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///ynwA= Date: Mon, 27 Jun 2016 12:58:58 +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> In-Reply-To: <20160627084649.GB19588@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: <3C4C5F330114A644AF300C8C4834B0AE@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 12:59:07 -0000 DQpPbiA2LzI3LzE2LCAzOjQ2IEFNLCAiUmljaGFyZHNvbiwgQnJ1Y2UiIDxicnVjZS5yaWNoYXJk c29uQGludGVsLmNvbT4gd3JvdGU6DQoNCj5PbiBTdW4sIEp1biAyNiwgMjAxNiBhdCAxMDo1NDox MkFNIC0wNTAwLCBLZWl0aCBXaWxlcyB3cm90ZToNCj4+IExhdGVzdCBjbGFuZyBjb21waWxlciAz LjguMCBvbiBsYXRlc3QgdXBkYXRlIG9mIFVidW50dQ0KPj4gY3JlYXRlcyBhIGZldyBtb3JlIHdh cm5pbmdzIG9uIC1XYXJyYXktYm91bmRzIGFuZCBleHRyYQ0KPj4gKCkgYXJvdW5kICdpZicgZXhw cmVzc2lvbnMuDQo+PiANCj4+IFNpZ25lZC1vZmYtYnk6IEtlaXRoIFdpbGVzIDxrZWl0aC53aWxl c0BpbnRlbC5jb20+DQo+PiAtLS0NCj4+ICBhcHAvdGVzdC1wbWQvTWFrZWZpbGUgICAgICAgICAg ICAgICAgfCAzICsrKw0KPj4gIGFwcC90ZXN0L01ha2VmaWxlICAgICAgICAgICAgICAgICAgICB8 IDMgKysrDQo+PiAgZHJpdmVycy9uZXQvYm9uZGluZy9NYWtlZmlsZSAgICAgICAgIHwgNCArKysr DQo+PiAgZHJpdmVycy9uZXQvZm0xMGsvTWFrZWZpbGUgICAgICAgICAgIHwgMiArKw0KPj4gIGRy aXZlcnMvbmV0L2k0MGUvTWFrZWZpbGUgICAgICAgICAgICB8IDIgKysNCj4+ICBsaWIvbGlicnRl X2NtZGxpbmUvTWFrZWZpbGUgICAgICAgICAgfCA2ICsrKysrKw0KPj4gIGxpYi9saWJydGVfZWFs L2xpbnV4YXBwL2VhbC9NYWtlZmlsZSB8IDggKysrKysrKysNCj4+ICA3IGZpbGVzIGNo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