Using |inline| in X.org codebase / was: Re: Usage of ANSI-C |const| in X11 code...

Alan Coopersmith Alan.Coopersmith at Sun.COM
Sun Apr 3 16:03:18 PDT 2005


Thomas Dickey wrote:
> On Sat, Apr 02, 2005 at 09:25:37PM +0200, Roland Mainz wrote:
> 
>>Thomas Dickey wrote:
>>
>>>On Thu, Mar 31, 2005 at 02:34:31AM +0200, Roland Mainz wrote:
>>>
>>>>I would prefer if the X.org codebase could be compiled with strict
>>>>ANSI-C89 to gurantee maximum portability. If we let it slip now we may
>>>
>>>That would be nice, except that the unusal interpretation of "strict"
>>>makes it not compile with unistd.h
>>
>>What exactly breaks here ?
> 
> 
> My point was that (lacking additional #define's to turn on features),
> "strict" ANSI-C89 (or C99, etc), turn off the POSIX features.

And it turns off features like large-file support which require extended
types such as 64-bit ints on 32-bit OS'es.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list