[Spice-devel] [PATCH] Disable qualifier cast warning from GCC

Christophe Fergeau cfergeau at redhat.com
Fri May 4 00:39:37 PDT 2012

On Fri, May 04, 2012 at 09:16:49AM +0200, Alon Levy wrote:
> On Thu, May 03, 2012 at 05:33:31PM +0200, Christophe Fergeau wrote:
> > X.Org adds -Wcast-qual to its default WARNCFLAGS, but then it
> > doesn't use const in the API it exports, which leads to warnings
> > when trying to initialize some fields of the various DriverRec
> > structures with string literals.
> The annoying thing is where does one find CWARNFLAGS, never mentioned in
> those patches.

Ah I can put more details about this in the Changelog if you want.

-------------- 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/20120504/9b949dad/attachment.pgp>

More information about the Spice-devel mailing list