From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] test: fix compilation error in external memory test Date: Wed, 17 Oct 2018 11:12:04 +0100 Message-ID: <4777b2af-5ae6-b87d-d6ef-3303e3390aa3@intel.com> References: <20181017002244.6117-1-dg@adax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit To: Dan Gora , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 90F181B114 for ; Wed, 17 Oct 2018 12:12:07 +0200 (CEST) In-Reply-To: <20181017002244.6117-1-dg@adax.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 17-Oct-18 1:22 AM, Dan Gora wrote: > Fix a compilation error in test_external_mem.c: > > CC test_external_mem.o > test_external_mem.c: In function ‘test_external_mem’: > test_external_mem.c:375:2: error: ‘for’ loop initial declarations are > only allowed in C99 mode > > for (int i = 0; i < n_pages; i++) { > ^ > test_external_mem.c:375:2: note: use option -std=c99 or -std=gnu99 to > compile your code > > Fixes: b270daa43b3d ("test: support external memory") > Cc: anatoly.burakov@intel.com > > Signed-off-by: Dan Gora > --- Oops Acked-by: Anatoly Burakov -- Thanks, Anatoly