From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test: Disable strict-aliasing warnings Date: Fri, 27 Mar 2015 11:00:38 +0100 Message-ID: <1726796.6cYerYJHfA@xps13> References: <1427397455-30368-1-git-send-email-pablo.de.lara.guarch@intel.com> <9913571.Sq7Gc1tDuT@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "De Lara Guarch, Pablo" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-03-27 09:29, De Lara Guarch, Pablo: > From: Thomas Monjalon [mailto:thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org] > > 2015-03-26 19:17, Pablo de Lara: > > > DPDK does not build on gcc 4.4, as it complains due to > > > strict-aliasing rules in virtual_pmd and link_bonding_mode4 tests, > > > with no errors in next gcc versions: > > > > Do you mean it's not possible to fix it in the code? > > You are disabling some checks which may be relevant. > > I mean it is possible to fix, but probably not worth it, considering that > newer gcc versions have no issues (and gcc 4.4 is from 2011). > I have seen that there are other libraries that disable these warnings as well, > so I assumed we could do the same here. It is preferred to avoid doing it.