From owner-freebsd-bugs Sun Nov 25 2:50: 4 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B56237B416 for ; Sun, 25 Nov 2001 02:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAPAo1W79806; Sun, 25 Nov 2001 02:50:01 -0800 (PST) (envelope-from gnats) Date: Sun, 25 Nov 2001 02:50:01 -0800 (PST) Message-Id: <200111251050.fAPAo1W79806@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/30317: nability to compile programs defining _POSIX_SOURCE Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/30317; it has been noted by GNATS. From: Bruce Evans To: Cc: Subject: Re: bin/30317: nability to compile programs defining _POSIX_SOURCE Date: Sun, 25 Nov 2001 21:46:39 +1100 (EST) On Wed, 21 Nov 2001 jkoshy@FreeBSD.ORG wrote: > If you need to use , then by definition your code > falls outside of the gambit defined by the POSIX standard, so you > should not be defining `_POSIX_SOURCE'. Correct for the 1990 standard. > Incidentally, the `_POSIX_SOURCE' feature test macro is deprecated; > `_POSIX_C_SOURCE' is recommended and can be given a numeric value > corresponding to revision of the POSIX standard desired. POSIX.1-200x-draft7 has , and for strict conformance, _POSIX_C_SOURCE has to be defined as 200xxxL before including any header. So the PR mostly applies to POSIX.1-200x. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message