Csound Csound-dev Csound-tekno Search About

[Cs-dev] NOGETTEXT & csoundLocalizeString problem

Date2008-01-30 09:39
FromAnthony Kozar
Subject[Cs-dev] NOGETTEXT & csoundLocalizeString problem
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