Re: [warning reduction 00/11] Eliminating warnings in xf86-video-qxl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Wed, Sep 12, 2012 at 05:06:44AM +0200, Søren Sandmann wrote:
> Jeremy White <jwhite@xxxxxxxxxxxxxxx> writes:
> 
> > The following patch series remove nearly all warnings from
> > xf86-video-qxl.
> 
> Some general comments:
> 
> - You have this pattern where you assign a string to a global variable
>   and then you assign that variable to a field instead of the string
>   itself. If this really is necessary, I think the string should just be
>   cast instead. I haven't been able to make gcc generate that warning
>   though. Which option did you use?

When I looked at this, this was caused by -Wcast-qual, and I tried to
address it with
http://lists.freedesktop.org/archives/spice-devel/2012-May/008998.html
Alon ACK'ed it, but I've never pushed it :-/ In light of this patch series,
we can consider this patch as an alternative if it helps.

Christophe

Attachment: pgpEg3mcSxQ0s.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]