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

Thomas Dickey dickey at radix.net
Sat Apr 2 11:29:39 PST 2005


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.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050402/3c1983a0/attachment.pgp>


More information about the xorg mailing list