[PATCH 00/37] Warning fixes (post 1.15 proposed changes)

Keith Packard keithp at keithp.com
Tue Nov 19 08:28:18 PST 2013


Thierry Reding <thierry.reding at gmail.com> writes:

> Well, I guess that depends on how you look at it. Anyway, you obviously
> have your reasons why you want to do this and you've been working on
> this code for a long time and know the implications much better. Besides
> it's not like this fundamentally changes the behaviour, it just makes
> sure that the warnings don't distract from more important ones.

Which is why I want to disable -Wcast-qual as we use these casts
explicitly when we "know" more than the compiler. It's not perfect, but
then C isn't a perfect language either (static typing doesn't capture
the whole range of valid programs).

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


More information about the xorg-devel mailing list