From owner-freebsd-stable@FreeBSD.ORG Sat Aug 30 09:49:19 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF9616A4BF for ; Sat, 30 Aug 2003 09:49:19 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 928CD43FA3 for ; Sat, 30 Aug 2003 09:49:17 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost.nic.fr [IPv6:::1] (may be forged)) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h7UGnFXV042362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Sat, 30 Aug 2003 12:49:16 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h7UGnF5H042361; Sat, 30 Aug 2003 12:49:15 -0400 (EDT) (envelope-from wollman) Date: Sat, 30 Aug 2003 12:49:15 -0400 (EDT) From: Garrett Wollman Message-Id: <200308301649.h7UGnF5H042361@khavrinen.lcs.mit.edu> To: troy@twisted.net In-Reply-To: <20030830161813.GA28890@twisted.net> Organization: MIT Laboratory for Computer Science X-Spam-Score: -3.3 () IN_REP_TO X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: stable@FreeBSD.org Subject: Re: POSIX_C_SOURCE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2003 16:49:20 -0000 In article <20030830161813.GA28890@twisted.net> you write: >Any chance that someone will finally commit the fixes to prevent the >POSIX_C_SOURCE warnings from showing up? I saw a number of posts on this >topic, but it still seems like it's not "officially committed" >/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined >/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined The warnings are wrong,[1] so you should probably ask the GCC people about that. -GAWollman [1] That is to say, any identifier used in a preprocessor expression (after macro expansion) is defined to have a value of zero, and GCC should not be complaining about this.