Skip to content
Prev 39065 / 63421 Next

R-devel on FreeBSD: Support for C99 complex type is required

On 06.02.2011 18:24 (UTC+1), Prof Brian Ripley wrote:
Sorry for the naming, R-devel of course.
Ok, so only changing the compiler might be not enough. We have to try out.
That is possible. But I have more than 1300 ports (FreeBSD packages) 
installed. And some of them are quite sophisticated.
I had a look at src/main/complex.c. There is a comment which describes 
the failure for gcc 4.2.1 on some systems.

This gives me the idea that perhaps FreeBSD is using the wrong complex.h 
file. The old one is in /usr/include, the newer one (4.5.3) in 
/usr/local/lib/gcc45/include/c++. But obviously the older header is 
used. I have to clear up this.