[Spice-devel] [PATCH v2 2/2] Avoid clang warnings on casts with stricter alignment requirements

Christophe Fergeau cfergeau at redhat.com
Wed May 24 08:09:06 UTC 2017


On Tue, May 23, 2017 at 12:55:13PM +0200, Victor Toso wrote:
> >
> > I only see -DNDEBUG being defined for cmake builds in rpm --showrc, and
> > none of my 250 spec files have a -DNDEBUG in them, so I would not expect
> > this to be set. I think we have SPICE_DEBUG already which might make
> > sense, another alternative would be to have a --enable-alignment-debug,
> 
> 
> > or something like glib (SPICE_XXX_DEBUG=alignment:foo:bar)
> 
> Just to point out that we have a bug for this [0] and IMHO it would be
> the best approach but it would take some effort to have it besides the
> glib that we would need is 2.50 (current required is 2.36)
> [0] https://bugs.freedesktop.org/show_bug.cgi?id=91838

Actually this is not what I had in mind when writing my email, but might
fit yes.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170524/3ebed1a0/attachment.sig>


More information about the Spice-devel mailing list