fastr
fastr copied to clipboard
Compilation Error
While I try to install the package "mvtnorm" default (LLVM) compilation receive:
./tvpack.c:201:12: error: conflicting types for 'tvtmfn_'
doublereal tvtmfn_(doublereal *x)
^
./tvpack.c:90:33: note: previous declaration is here
extern /* Subroutine */ int tvtmfn_();
^
./tvpack.c:312:12: error: conflicting types for 'adonet_'
doublereal adonet_(D_fp f, doublereal *a, doublereal *b, doublereal *tol)
^
./tvpack.c:88:35: note: previous declaration is here
doublereal *, doublereal *), adonet_(U_fp, doublereal *,
^
2 errors generated.
Setting to toolchain to native works.
Hello,
this seems to be the same issue as in #135. Our LLVM mode Fortran compiler wrapper, which uses f2c to translate to C and then compile with clang, should be able to recover from errors and seamlessly switch to "native" mode. We will get that fixed.