[RFC]: c99 compiled world

Roman Divacky rdivacky at freebsd.org
Mon Nov 10 06:24:57 PST 2008


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


More information about the freebsd-current mailing list