Home Bug Reports

slice2cpp possible problem

g00fyg00fy Member SalvaniaOrganization: SalvaniaProject: Database systems ✭✭
I think slice2cpp has a possible problem with whitespaces (at least on windows).
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

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    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.
  • acbellacbell Member Andrew BellOrganization: Iowa State UniversityProject: National Resources Inventory ✭✭
    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,
Sign In or Register to comment.