Date: Mon, 10 Nov 2008 15:21:34 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Dag-Erling Sm??rgrav <des@des.no> Cc: current@freebsd.org Subject: Re: [RFC]: c99 compiled world Message-ID: <20081110142134.GA39035@freebsd.org> In-Reply-To: <867i7b4qau.fsf@ds4.des.no> References: <20081106185512.GA33153@freebsd.org> <867i7b4qau.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 10, 2008 at 03:19:05PM +0100, Dag-Erling Sm??rgrav wrote: > Roman Divacky <rdivacky@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081110142134.GA39035>