From owner-freebsd-standards@FreeBSD.ORG Fri Aug 4 13:05:47 2006 Return-Path: X-Original-To: standards@freebsd.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6051F16A4DA for ; Fri, 4 Aug 2006 13:05:47 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0AD443D49 for ; Fri, 4 Aug 2006 13:05:46 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.7/8.13.7) with ESMTP id k74D5hBS005949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Aug 2006 09:05:43 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.7/8.13.7/Submit) id k74D5hpG005948; Fri, 4 Aug 2006 09:05:43 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Stefan Farfeleder Date: Fri, 4 Aug 2006 09:05:42 -0400 User-Agent: KMail/1.9.1 References: <200608031547.34386.mi+mx@aldan.algebra.com> <200608031817.23847.mi+mx@aldan.algebra.com> <20060804065629.GB89735@wombat.fafoe.narf.at> In-Reply-To: <20060804065629.GB89735@wombat.fafoe.narf.at> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: standards@freebsd.org Subject: Re: conundrum: _C99_SOURCE vs. sigset X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 13:05:47 -0000 On Friday 04 August 2006 02:56, Stefan Farfeleder wrote: = > > The macro _C99_SOURCE is for pure C99 code and _ANSI_SOURCE for C90 = > > code. Both don't include the header. = > = > They do -- it gets included from iostream, even when I define one of = > those. = = No, what I meant was that isn't defined by neither C90 nor = C99 but by POSIX. šDefining _C99_SOURCE or _ANSI_SOURCE hides additional = POSIX/BSD identifiers in shared headers which is a bad idea if you want = to include ; as you've seen it leads to errors. I don't, actually, include pthread.h. iostream does -- that's the problem :-( Thanks! -mi