Archived

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

slice2cpp error

Greetings,

We just made the switch to Ice 3.1.0. While the code generated from slice2cpp compiled fine under 3.0.1, it seems to have some problems with 3.1.0.

We've narrowed it down to:

testIce.ice:
/******************/
#ifndef TESTICE_ICE
#define TESTICE_ICE

module Wrapper
{
sequence <byte> unsignedChar;
dictionary <string, unsignedChar> BinType;
};
/******************/

gcc version: 3.2.3 and 3.4.5

The generated code produces a variable, '_____i', which is not defined. It seems the variable that should be used instead is '__i'. Perhaps it's either a syntax error on our part, a gcc version error, or an Ice bug. Either way, any help would be much appreciated.

Thanks!

Comments