On 12 October 2014 01:32, Chen Gang <gang.chen.5...@gmail.com> wrote: > On 10/12/14 5:25, Peter Maydell wrote: >> Some other approaches to this that would confine the >> fix to the makefiles rather than requiring us to modify >> the vixl source itself: >> a) add a -Wno- option for the affected .o files > > It is one way, but may have effect with gcc 4 version, and also it is > effect with the whole file which is wider than current way. > >> b) use -isystem rather than -I to include the libvixl >> directory on the include path >> > > It sounds good to me, although for me, it is not related with current > issue.
-isystem disables a bunch of gcc warnings automatically, which is why I suggested it. I'm not overall sure it's a great idea though. -- PMM