From: Fred L. <ff...@ab...> - 2010-08-05 15:51:16
|
All, Whenever I call: pp->SetIntProp("crabbing", 1); my compiler complains: warning: deprecated conversion from string constant to 'char*' So I started editing clientproxy.h and clientproxy.cc in my svn working copy to add the const's with a view of submitting a patch. Obviously, the compilation fails because the underlying c code (in playerc.h) does not have the const's. I haven't done any pure c in a while so I'm not too sure what to do with that. I think gcc will be happy with added "const"s but this might not be generic enough. And I'm not too sure what the repercussions of that will be with the rest of the code. I could const_cast, but this somehow defeats the point... Any suggestions? Cheers, Fred |