xserver janitorial work
alan.coopersmith at sun.com
Thu Jun 8 11:11:31 PDT 2006
Adam Jackson wrote:
> On Thursday 08 June 2006 12:40, Alan Coopersmith wrote:
>> Just for the record, the current agreed upon standard for X is ANSI/ISO
>> C89. You can not yet assume C99, but you can use C99'ism's like __func__
>> with proper #ifdef or configure.ac tests and reasonable fallbacks when not
>> supported. Similarly for gcc extensions to ANSI C.
> Open question: are we assuming unix98 yet?
I thought so - I've definitely been removing fallbacks for pre-POSIX.1-1990
systems. We still have some places that check for Unix98'isms like snprintf,
but could probably reduce those.
(With my corporate slave hat on, I could even live with Unix03, since we only
ship current Xorg bits on Unix03-compliant systems, but for the community at
large I don't think we want to go that far yet since I know many people still
like to build their own for older systems.)
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg