This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: gh_*() funcs don't take const char*
- To: David Vrabel <dv207 at hermes dot cam dot ac dot uk>
- Subject: Re: gh_*() funcs don't take const char*
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Thu, 18 May 2000 12:21:27 +0200 (MEST)
- cc: guile at sourceware dot cygnus dot com
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