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

Andy Furniss andyqos at ukfsn.org
Fri Aug 10 14:20:00 PDT 2012


Chad Versace wrote:
>>> 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.
>

Yea - sorry I messed up that test as I just mailed.

If you want to re-apply your patch I don't care, I'll just update my old 
boxes some time - or maybe be lazy and just revert it in my tree :-)



More information about the mesa-dev mailing list