[gambit-list] gcc char* warnings
Marc Feeley
feeley at iro.umontreal.ca
Tue Feb 17 16:41:34 EST 2009
On 17-Feb-09, at 3:54 PM, lowly coder wrote:
> i'm getting a bunch of warnings of the form:
>
> warning: deprecated conversion from string constant to 'char*'
>
> is this something I should:
>
> 1) fix via a gcc option to not give me these warnings or
> 2) fix something I'm doing wrong with c-ffi that's resulting in
> these warnings
I think the problem is that string constants are really of type "const
char*", and Gambit does not yet support the "const" qualifier.
I'm planning to support this soon. For now just ignore it.
Marc
More information about the Gambit-list
mailing list