Page 1 of 1

Compile errors in dgels.c

PostPosted: Wed Feb 25, 2015 10:45 pm
by Keith47
I am attempting to get an application of dgels.c up and running. It looks like there have been some changes to c/c++ that occurred after the file was created and now affect its operation.
I am putting this question under Linking because the problem is in the duels.c function. In new to this system, so if there is another discussion that would be better, I'll be happy to repost it.

I put the duels.c function into the same file as my main function, and added #includes for blaswrap.h and f2c.h. Those appear to be working.

Several errors occur in dgels.c at compile time.
One error occurs 30 times with the following as an example.

if(lsame_(trans, “N”))
. . .some code here

The compiler replies with
ISO C++11 does not allow conversion from string literal to ‘char *’

Other calls with this error include calls to ilaenv_, xerbla_ dlaset_, dlamch_ dlange_ dlascl_ dlaset_ dormqr_ dtrtrs_ dormlq_,

I wonder how someone else may have resolved these errors in duels.c.

Thank you,