Date: Mon, 10 Nov 2008 15:19:05 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Roman Divacky <rdivacky@freebsd.org> Cc: current@freebsd.org Subject: Re: [RFC]: c99 compiled world Message-ID: <867i7b4qau.fsf@ds4.des.no> In-Reply-To: <20081106185512.GA33153@freebsd.org> (Roman Divacky's message of "Thu, 6 Nov 2008 19:55:12 %2B0100") References: <20081106185512.GA33153@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867i7b4qau.fsf>