Archived

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

Patch #8 for Ice 3.1.0: support for paths with spaces in -I option

benoit
benoit Rennes, France
Hi,

The following patch adds support for paths with spaces when using the -I command line option of the Slice translators to specify include directories.

To apply the patch:

$ cd Ice-3.1.0
$ patch -p0 < translators.patch.txt

Cheers,
Benoit.

Comments

  • This patch broke paths with trailing slashes

    FYI, I think this patch broke paths with trailing slashes.

    We use Visual Studio 2005 with custom build steps.
    Some of the predefined Macro directories like $(InputDir) have a trailing "\".
    slice2cs now either generates an empty file from within Visual Studio, or hangs from the command line when a -I path has a trailing slash.

    A work-around appears to be to add a dot "." after the path
    (i.e. "-I$(InputDir)." ).


    Best Regards,

    Wes
  • benoit
    benoit Rennes, France
    Thanks for the report, we'll have a closer look at this problem.

    Cheers,
    Benoit.