From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2018 03:12:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,392,1534834800"; d="scan'208";a="79418234" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.144]) ([10.237.220.144]) by fmsmga008.fm.intel.com with ESMTP; 17 Oct 2018 03:12:05 -0700 To: Dan Gora , dev@dpdk.org References: <20181017002244.6117-1-dg@adax.com> From: "Burakov, Anatoly" Message-ID: <4777b2af-5ae6-b87d-d6ef-3303e3390aa3@intel.com> Date: Wed, 17 Oct 2018 11:12:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181017002244.6117-1-dg@adax.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH] test: fix compilation error in external memory test 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: Wed, 17 Oct 2018 10:12:08 -0000 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