Hi,
The following patch is a fix for the slice2cpp compiler, which generates incorrect code when a byte sequence is used in a dictionary.
To apply the patch:
$ cd Ice-3.1.0
$ patch -p0 < patch.slice2cpp.txt
Regards,
Dwayne
|
|
Hi,
The following patch is a fix for the slice2cpp compiler, which generates incorrect code when a byte sequence is used in a dictionary.
To apply the patch:
$ cd Ice-3.1.0
$ patch -p0 < patch.slice2cpp.txt
Regards,
Dwayne
Last edited by dwayne; 07-31-2006 at 08:43 AM.
Dwayne Boone
FYI, this patch required a small tweak for me to get it to apply properly:
The first hunk had a newline in it that wasn't in the original source for me. I used this hunk instead:
*** 857,862 ****
--- 857,866 ----
StringList md;
md.push_back("cpp:array");
string tmpParam = "___";
+ //
+ // Catch some case in which it is not possible to just prepend
+ // underscores to param to use as temporary variable.
+ //
if(fixedParam.find("(*") == 0)
{
tmpParam += fixedParam.substr(2, fixedParam.length() - 3);
Caleb Tennis
Analytical Engineering, Inc.
http://www.aei-tech.com
Project: Our facility infrastructure heavily utilizes Ice
Gentoo ebuild maintainer for Ice, IceRuby, etc.
There are currently 1 users browsing this thread. (0 members and 1 guests)