This is a discussion on Re: [RFC]: c99 compiled world - FreeBSD ; 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 [...] > ...
On Mon, Nov 10, 2008 at 03:19:05PM +0100, Dag-Erling Sm??rgrav wrote:
> Roman Divackywrites:
> > 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"