[Xcb] Question about XML spec, and QueryExtension

Rémi Cardona remi.cardona at lri.fr
Tue Aug 26 02:58:33 PDT 2008


Peter Harris a écrit :
> It would be interesting to compile all of XCB with -Wpadded to see what
> other bugs there are in the XML definitions.

Here's a quick and dirty patch (read, untested) to allow defining
compiler specific attributes to force structure packing in CFLAGS or
some other header.

I doubt this is interesting for release stuff, but it could help
discover alignment bugs.

Hope it helps someone :)

Cheers

-- 
Rémi Cardona
LRI, INRIA
remi.cardona at lri.fr
remi at gentoo.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: http://lists.freedesktop.org/archives/xcb/attachments/20080826/dc98e351/attachment.ksh 


More information about the Xcb mailing list