Skip to content
Prev 39061 / 63424 Next

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

On Sun, 6 Feb 2011, Rainer Hurling wrote:

            
Not really: there was an alternative not using C99 double complex 
prior to R-devel (there is no 'R-2.13.0').
The C99 standard requires more than a compiler.  It is usual (but not 
compulsory) to provide the runtime support in libraries such as libc 
and libm: so on Linux these functions are in glibc, on Windows most 
are in MSVCRT.dll and some in libmingwex.a ....
Maybe you use no other piece of software relying on C99's complex 
functions?
As I said, we are never going to do that.  The usual Open Source way 
to solve problems like this is for substitute functions to be provided 
on the deficient platform.  We do that for several functions that used 
not to be common: see src/main/Makefile.