This definition does not compile because it is implicitly converting a const
parameter to a non-const return value.
PUBLIC char *csoundLocalizeString(const char *s)
{
return s;
}
The old implementation would do this when using the default language:
return (char*) s; /* return original string */
though this seems a little dubious -- but I guess it worked.
Anthony
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |