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 96E335A9D for ; Fri, 27 Mar 2015 16:48:27 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 27 Mar 2015 08:48:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,479,1422950400"; d="scan'208";a="686616587" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga001.fm.intel.com with ESMTP; 27 Mar 2015 08:48:26 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.49]) by IRSMSX107.ger.corp.intel.com ([163.33.3.99]) with mapi id 14.03.0224.002; Fri, 27 Mar 2015 15:48:25 +0000 From: "De Lara Guarch, Pablo" To: Stephen Hemminger Thread-Topic: [dpdk-dev] [PATCH] test: Disable strict-aliasing warnings Thread-Index: AQHQZ/mOqZSonOu9tUujkVVfLNfq5p0wemSAgAAAI1A= Date: Fri, 27 Mar 2015 15:48:24 +0000 Message-ID: References: <1427397455-30368-1-git-send-email-pablo.de.lara.guarch@intel.com> <20150327084621.74b7d7ac@urahara> In-Reply-To: <20150327084621.74b7d7ac@urahara> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] test: Disable strict-aliasing warnings 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: Fri, 27 Mar 2015 15:48:28 -0000 > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Friday, March 27, 2015 3:46 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] test: Disable strict-aliasing warnings >=20 > On Thu, 26 Mar 2015 19:17:35 +0000 > Pablo de Lara wrote: >=20 > > +# Disable warnings of no-strict-aliasing in virtual_pmd > > +# and test_link_bonding_mode4 tests > > +CFLAGS_virtual_pmd.o +=3D -Wno-strict-aliasing > > +CFLAGS_test_link_bonding_mode4.o +=3D -Wno-strict-aliasing > > + > > >=20 > There is a way to do it only for a specific (broken) > Gcc version using if's I know, I sent another email, saying that I missed an if to check the gcc v= ersion. Anyway, Pawel has sent another patch to fix the issue. Not sure which fix the community prefers. Thanks, Pablo