[Xcb] XCB is ANSI C?

Jamey Sharp jamey at minilop.net
Thu Dec 29 19:05:52 PST 2005

On Thu, Dec 29, 2005 at 06:46:22PM -0800, Barton C Massey wrote:
> My opinion is that XCB itself should also always remain
> compilable by a strict ANSI C compiler---not every place we
> want to field this thing is going to have a GCC port.
> I mention this only because I'm not sure what effect the
> suggested changes to xlibint.h would have---probably none if
> the ifdefing is done right.
> Is there anyone who has a disagreement with XCB and its
> shipped clients being pure standards-compliant ANSI C?
> Speak now if so...

I want XCB to be able to make use of GCC extensions when they're
available, but I agree that XCB should still compile without warnings
and execute correctly on a strict ANSI C compiler. Or perhaps I mean a
C89 compiler -- is there a difference?

Anyway, I think that's what you meant, in which case I agree with you
wholeheartedly. I've already got -pedantic turned on for the XCB
library. Are you suggesting we should add -std=c89?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20051229/2589a282/attachment.pgp

More information about the Xcb mailing list