Archived

This forum has been archived. Please start a new discussion on GitHub.

Patch #3 for Ice 3.4.0: slice2cs tie issue

mes
mes California
This patch corrects the issue reported here, in which slice2cs generates invalid code when the --tie option is used.

To apply the patch to the Ice 3.4.0 source distribution:

$ cd Ice-3.4.0
$ patch -p1 < patch-tie.txt

Comments

  • Mark,

    Thanks for the patch.

    Weird thing: I fed it into GnuWin32 patch 2.5.9 (on winXP 32bit), and it barfed out with:

    patching file cpp/src/slice2cs/Gen.cpp
    Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    Which version+platform did you use to produce/test the patch file?
  • mes
    mes California
    On Windows you need to use the --binary option when running patch:

    > patch --binary -p1 < patch-tie.txt

    Can you try that?

    Regards,
    Mark
  • It works

    Thank you
  • Patched slice2cs.exe for x86 avail?

    Is slice2cs.exe with this patch applied available for x86 somewhere?
  • dwayne
    dwayne St. John's, Newfoundland
    Ice 3.4.1 which was released yesterday contains this fix.