From murray at stokely.org  Sun Feb  6 18:24:27 2011
From: murray at stokely.org (Murray Stokely)
Date: Sun, 6 Feb 2011 09:24:27 -0800
Subject: [Rd] R-devel on FreeBSD: Support for C99 complex type is
	required
In-Reply-To: <4D4ED172.9090402@gwdg.de>
References: <4D4EAFCE.6020004@gwdg.de>
	<alpine.LFD.2.00.1102061507430.15472@auk.stats.ox.ac.uk>
	<4D4ED172.9090402@gwdg.de>
Message-ID: <AANLkTinvJZYiLTRAfhN1Bo7Si1dTHed9+kv3p1Uqw0RB@mail.gmail.com>

On Sun, Feb 6, 2011 at 8:50 AM, Rainer Hurling <rhurlin at gwdg.de> wrote:
>> I think this is really a FreeBSD support question. In 2011, an OS really
>> should have support for a 1999 standard. Darwin, a FreeBSD derivative,
>> does and its help page says
>
> Hmm, on FreeBSD I really have no other piece of software which complains
> about lack of C99.

FreeBSD is planning on switching to a different compiler, llvm/clang,
and so the version of gcc is stale, but still it should be more than
sufficient to support C99.  FreeBSD started a C99 effort a decade ago
and I haven't heard from this initiative in a long time as I thought
it was completed.

    http://www.freebsd.org/projects/c99/index.html

There is I believe experimental support for llvm/clang built into
FreeBSD 9, so you could try compiling with that instead of gcc.

> Ok, I understand. This seems consistent. I will try to contact FreeBSD
> support about it. Please do not change back the behaviour for FreeBSD
> (towards emulation code) until this is clarified.

Yes, please mail freebsd-standards at google.com

I haven't looked at what autoconf is testing exactly but I suspect
simply another argument must be provided in the autoconf script to get
it to pull up the C99 math functions its looking for.

          - Murray



[Rd] R-devel on FreeBSD: Support for C99 complex type is required
Murray Stokely