This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gh_*() funcs don't take const char*


On Thu, 18 May 2000, David Vrabel wrote:

> Many of the gh_*() functions in gh.h take a char* instead of a const
> char*.  This tends to mess up C++ compiliers which object to converting
> const char* to char*.  I had a quick look at the sources and it seems okay
> to change gh_str02scm() and gh_str2scm() to accept const char*.  I didn't
> look at any of the other functions.

Especially gh_str02scm and gh_str2scm have been changed in cvs for some
time to take const char* arguments.  However, I just changed a lot of the
other functions to also accept const xxx* rather than just xxx*.

Thanks for the suggestion.

Best regards
Dirk Herrmann


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]