[Mesa-dev] [PATCH] mesa: Remove C++11 narrowing warnings

Chad Versace chad.versace at linux.intel.com
Fri Aug 10 14:59:51 PDT 2012


>> This opens a larger question. gcc 4.2 was released in May 2007, over 5 years
>> ago, and received its last update in May 2008. How old of a gcc should new Mesa
>> releases support?
> 
> That's a fair point - that was on an old LFS AGP box I don't really use apart
> from booting now and again to see if anything regressed/got fixed for older cards.
> 
> I tested on a different box and I do get the same fail with a slightly less
> ancient -
> 
> gcc (GCC) 4.5.1
> Copyright (C) 2010 Free Software Foundation, Inc.
> 
> This is also LFS - I don't know if the way it is set up has anything to do with it.

I just confirmed that the gcc-4.4.3 packaged in the Android IceCreamSandwich
toolchain ignores -Wno-narrowing.

I suspect that either
  1. A fix was backported to a newer point release of 4.5.  4.5.1 was released
in July 2010, but the newest is 4.5.4, released in July 2012.
  2. The problem is in the LFS setup.


More information about the mesa-dev mailing list