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

2019-09-06 Thread Benjamin Christoffersen
> 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. That is an embarrassing error. I will try to do exactly as is written in WRE. > I'd try debugging this with gcc -E, checking whether the FCLEN and

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

2019-09-05 Thread Dirk Eddelbuettel
On 3 September 2019 at 15:37, Tomas Kalibera wrote: | Yes, that seems to be an upstream problem. Maybe checking with the documentation for Armadillo documentation at http://arma.sourceforge.net/docs.html (large page, see about the various #define in config.hpp near the bottom) could be of help.

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

2019-09-03 Thread Tomas Kalibera
On 9/3/19 3:07 PM, Benjamin Christoffersen wrote: > Dear Sirs, > > I have tried to update my 'dynamichazard' package on CRAN but I have > had some issues with the '-Wlto-type-mismatch' checks. In particular, > I have tried to follow "Writing R Extensions" section "Fortran > character strings" and d

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

2019-09-03 Thread Benjamin Christoffersen
Dear Sirs, I have tried to update my 'dynamichazard' package on CRAN but I have had some issues with the '-Wlto-type-mismatch' checks. In particular, I have tried to follow "Writing R Extensions" section "Fortran character strings" and defined a C++ header file (https://github.com/boennecd/dynamic