Archived
This forum has been archived. Please start a new discussion on GitHub.
slice2cpp possible problem
in Bug Reports
I think slice2cpp has a possible problem with whitespaces (at least on windows).
When used the correct directory without spaces, it's OK... When used with spaces it's not...
Greetz,
Steven
D:\C_Programs\SDS\Ice>slice2cpp *.ice -Id:\program files\coding\ice\slice In file included from Audit.ice:4: Security.ice:6: No include path in which to find Ice/Plugin.ice Security.ice:68: `Ice::Plugin' is not defined D:\C_Programs\SDS\Ice>slice2cpp *.ice -I"D:\Program Files\Coding\Ice\slice" icecpp.exe: Files\Coding\Ice\slice: No such file or directory [i]--> Weird error code here?? icecpp.exe???[/i] D:\C_Programs\SDS\Ice>slice2cpp *.ice -Id:\progra~1\coding\ice\slice D:\C_Programs\SDS\Ice>
When used the correct directory without spaces, it's OK... When used with spaces it's not...
Greetz,
Steven
0
Comments
-
Thanks for the bug report. I've recently checked in a fix for this so, in the next release of Ice, slice2cpp will be able to handle spaces in path names.
Cheers,
Michi.0 -
More problems with spaces
Hi,
I've got a patch for this if problem if anyone wants it.
It also seems like backslashes are getting stripped out of arguments to the preprocessor, which mangles -I options. Is anyone else seeing this, or is it just me? I can fix if necessary, but if someone else knows that I am misusing things and can clue me in, I'd appreciate it. This seems to be a new issue in 3.0.
Thanks,0