[PULL] button mapping fix and unconstify patches

Keith Packard keithp at keithp.com
Mon Feb 10 21:07:51 PST 2014


Gaetan Nadon <memsize at videotron.ca> writes:

> On 14-02-10 06:36 PM, Alan Coopersmith wrote:
>> I believe the ones about shadowing system functions like index are
>> silenced
>> in newer gcc versions - for instance I see them with gcc 4.5 but not 4.7.
>> Which gcc did you use in this build?
> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3. From Ubuntu 12.04 LTS.

I'd suggest disabling -Wshadow on that compiler until you get a chance
to upgrade.

Compiling with 4.6 here, I'm not seeing any of the other warnings you
mention, just 225 -Wshadow warnings. I appear to have gcc versions 4.4,
4.6, 4.7 and 4.8 installed this evening. I suspect I could remove some
of those...

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140210/340ec688/attachment-0001.pgp>


More information about the xorg-devel mailing list