Re: [RFC]: c99 compiled world

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Mon, 10 Nov 2008 15:21:34 +0100
On Mon, Nov 10, 2008 at 03:19:05PM +0100, Dag-Erling Sm??rgrav wrote:
> Roman Divacky <rdivacky_at_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
Received on Mon Nov 10 2008 - 13:24:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC