[Xcb] XCB is ANSI C?

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Fri Dec 30 00:51:54 PST 2005


>
> 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?

afaik, C89 is a renaming of the ANSI by by the ISO organization.

>
> 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?

adding -ansi, maybe ?

iirc, lcc or plan 9 compiler are strict ansi c compilers

Vincent



More information about the Xcb mailing list