From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by dpdk.org (Postfix) with ESMTP id 458263B5 for ; Mon, 6 Oct 2014 16:47:58 +0200 (CEST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id s96Et43E017386 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 6 Oct 2014 07:55:04 -0700 (PDT) Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001; Mon, 6 Oct 2014 07:55:04 -0700 From: "Wiles, Roger Keith" To: Thomas Monjalon Thread-Topic: [dpdk-dev] Clang reporting a problem when adding another member initialization. Thread-Index: AQHP303HbE41InrtOE6yUXIho4CZN5wjPRUAgABkrIA= Date: Mon, 6 Oct 2014 14:55:03 +0000 Message-ID: <40646D45-E5FE-4164-BDCB-2334EF4FA00D@windriver.com> References: <2131179.2o0Ydgys2N@xps13> In-Reply-To: <2131179.2o0Ydgys2N@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.166] Content-Type: text/plain; charset="Windows-1252" Content-ID: <3EE541FFE04BCB43BA0D71D5F92270B2@local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Clang reporting a problem when adding another member initialization. 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, 06 Oct 2014 14:47:58 -0000 On Oct 6, 2014, at 3:54 AM, Thomas Monjalon wro= te: > 2014-10-03 21:05, Wiles, Roger Keith: >> I run into a problem with Clang report problem when I tried to add >> another member to the static initializer of the following in file >> ixgbe_rxtx_vec.c > [...] >> Then I removed the {} and it now builds. Is this a result of the >> changes to the mbuf structure and Clang being picky? >>=20 >> Should I submit a patch to remove the =91{ }=92 values? >=20 > You should check this thread: > http://dpdk.org/ml/archives/dev/2014-September/005504.html >=20 > You may be hitting a compiler bug. >=20 Is the placement of the comma in the code the right location, it just does = not look right to me? We can leave it as is, but we should have added some comment to the code to= explain this one bug. > --=20 > Thomas Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-= 213-5533