From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 14:34:38 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 759E51065680 for ; Mon, 10 Nov 2008 14:34:37 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4328FC14 for ; Mon, 10 Nov 2008 14:34:37 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id ACAC36D43F; Mon, 10 Nov 2008 14:19:05 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 943188447F; Mon, 10 Nov 2008 15:19:05 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Roman Divacky References: <20081106185512.GA33153@freebsd.org> Date: Mon, 10 Nov 2008 15:19:05 +0100 In-Reply-To: <20081106185512.GA33153@freebsd.org> (Roman Divacky's message of "Thu, 6 Nov 2008 19:55:12 +0100") Message-ID: <867i7b4qau.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [RFC]: c99 compiled world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 14:34:38 -0000 Roman Divacky writes: > I tried to compile world in C99 (in fact gnu99) gcc mode. It compiles > correctly with two trivial exceptions [...] No, it won't. You must have made a mistake. C99 / GNU99 mode disables pretty much everything except the standard C library functions; you have to set __BSD_VISIBLE and _POSIX_C_SOURCE to appropriate values. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no