From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 14:24:57 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 AB4381065673 for ; Mon, 10 Nov 2008 14:24:57 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6053E8FC21 for ; Mon, 10 Nov 2008 14:24:56 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6F0E29CB4CB; Mon, 10 Nov 2008 15:21:42 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W8IWHTUf3BRF; Mon, 10 Nov 2008 15:21:35 +0100 (CET) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3A34C9CB77A; Mon, 10 Nov 2008 15:21:35 +0100 (CET) Received: (from rdivacky@localhost) by lev.vlakno.cz (8.14.2/8.14.2/Submit) id mAAELZtj039590; Mon, 10 Nov 2008 15:21:35 +0100 (CET) (envelope-from rdivacky) Date: Mon, 10 Nov 2008 15:21:34 +0100 From: Roman Divacky To: Dag-Erling Sm??rgrav Message-ID: <20081110142134.GA39035@freebsd.org> References: <20081106185512.GA33153@freebsd.org> <867i7b4qau.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867i7b4qau.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i 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:24:57 -0000 On Mon, Nov 10, 2008 at 03:19:05PM +0100, Dag-Erling Sm??rgrav wrote: > 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. I tried with CFLAGS=-std=gnu99 and it seemed to work, I'll check what happens with those defines, thnx for the suggestion roman