[Spice-devel] [PATCH xf86-video-qxl v2 cleanup 1/6] qxl_driver: cleanup: fix const cast warnings

Christophe Fergeau cfergeau at redhat.com
Thu May 3 08:18:23 PDT 2012


On Thu, May 03, 2012 at 05:36:05PM +0300, Alon Levy wrote:
> On Thu, May 03, 2012 at 04:28:26PM +0200, Christophe Fergeau wrote:
> > I'm still not a big fan of these, but I could not find satisfying fixes in
> > the Xorg drivers I looked at, so let's get these in, we can always revert
> > if we come with a better solution.
> > Have you tried adding -Wno-cast-qual instead of these patches?
> 
> I haven't. I mean I started and got distracted. I know it's considered a
> too verbose. If you can do a patch for that I'm fine with it. As it is
> the warnings are obscuring any really interesting output (actual errors).

I've just tested this and sent a patch for it. It also gets rid of the
volatile warning.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120503/251dbff6/attachment.pgp>


More information about the Spice-devel mailing list