Skip to content
Prev 4337 / 12125 Next

[R-pkg-devel] Single character in Fortran function and FCONE and FCLEN macros

On 9/3/19 3:07 PM, Benjamin Christoffersen wrote:
I'd try following WRE on this exactly: include R_ext/BLAS.h and only 
after that define FCONE (if not defined) - and FCLEN if you need it as 
well.
I'd try debugging this with gcc -E, checking whether the FCLEN and FCONE 
macros work as intended. If the build process of the package seemed too 
complicated for that, you could also look at the disassembly for the 
calls, or compile with -fdump-tree-all? and look at the gfortran/gcc 
diagnostic files to see if the calls include the hidden 1s. The output 
seems to suggest that the macros have not been defined properly.||
Yes, that seems to be an upstream problem.

Best
Tomas