I am trying to make a c function work in some publicly available linear algebra code.
the publicly available prototype is…
int ilaenv_(int *, char *, char *, int *, int *,int *, int *);
The publicly available code has the function call…
nb = ilaenv_(&c__1, "DGEQRF", " ", m, n, &c_n1, &c_n1);
where m, n, c_1, and c_n1 are integers,
The error message is.
C++ 11 does not allow conversation from string literal to char *.
I did not create the code, but downloaded it from the LAPACK site. I hesitate to make too many changes to publicly available code that supposedly works, for fear of introducing errors. However, this error is showing up on a number of functions in the program that I am working on.
How can I resolve this?