Home Help Center

Ice::Byte question..

Here is what I have in my idl file:

const byte TypeInput = 1;

Here is what slice2cpp generates:

const ::Ice::Byte TypeInput = 1;

Her is what slice2java generates:

package example;
// Ice version 1.3.0

public interface TypeInput
byte value = 1 - 128 ;
Is it how it is supposed to be?

My client is Java. My server is Cpp. Passing that constant value as a parameter I can't get these constants equal on both ends. Am I doing something foolishly wrong?


  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    Re: Ice::Byte question..
    Originally posted by yserge
    Am I doing something foolishly wrong?

    No, you are clearly not. This is a bug in the code generator. I've posted a patch in the patch forum:


    Thanks for the bug report!


Sign In or Register to comment.