Date: Tue, 11 Mar 2003 12:36:44 -0500 (EST) From: Garrett Wollman <wollman@lcs.mit.edu> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: Mike Barcroft <mike@FreeBSD.ORG>, standards@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: CFR: add widely accepted _ISOC99_SOURCE Message-ID: <200303111736.h2BHaiBL062937@khavrinen.lcs.mit.edu> In-Reply-To: <20030311164240.GA2305@nagual.pp.ru> References: <20030310061548.GA85361@nagual.pp.ru> <20030310104434.P70629@espresso.bsdmike.org> <20030311144501.GA364@nagual.pp.ru> <20030311104943.A88290@espresso.bsdmike.org> <20030311164240.GA2305@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 11 Mar 2003 19:42:41 +0300, "Andrey A. Chernov" <ache@nagual.pp.ru> said: > What to do, if, say, C99 program want to use some POSIX functions from > lower (and not from higher) POSIX standard? Programmer error. Either it's a C99 program or it's an old-POSIX program; it cannot be both. > #define _GNU_SOURCE 1 > #define _ISOC99_SOURCE 1 > #define _POSIX_C_SOURCE 199506L > #define _XOPEN_SOURCE 500 > #define _LARGEFILE64_SOURCE 1 It is requesting contradictory namespaces, and getting what it deserves. It should not define any of these. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303111736.h2BHaiBL062937>