dcsimg
JDK 1.2.2 / Visibroker / Irep and longlong
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   john_urban
Posted On:   Monday, June 4, 2001 01:01 PM

I've got Java / JDK 1.2.2 running, along w/ VisiBroker 4.0 on my SunOS 5.7 machine. I have an idl w/ longlong in it. When I run irep against this idl [to load the IDL into my Interface Repository] I get the following error: $ cat K.idl module RRTApp { interface RRTIntf { double RType ( in unsigned short us, in unsigned longlong ull, in unsigned long ul, in short si, in longlong ll, in long l, in float f, in double d, in boolean b ); }; }; $ irep RTIR K.idl & K.idl: 5:syntax error after unsigned    More>>

I've got Java / JDK 1.2.2 running, along w/ VisiBroker 4.0 on my SunOS 5.7 machine.


I have an idl w/ longlong in it. When I run irep against this idl [to load the IDL into my Interface Repository] I get the following error:


$ cat K.idl

module RRTApp {

interface RRTIntf {

double RType (

in unsigned short us,

in unsigned longlong ull,

in unsigned long ul,

in short si,

in longlong ll,

in long l,

in float f,

in double d,

in boolean b

);

};

};

$ irep RTIR K.idl &

K.idl: 5:syntax error after unsigned

K.idl: 5:expected one of: short, long

K.idl: 5:instead of longlong

1 error

$



Does anyone know the correct combination of JDK / VisiBroker / irep to get longlong to load properly ?


Same problem occurs with ulonglong [unsigned longlong] and with VisiBroker 4.5


If I change my longlong lines to long, then irep works fine, but then my Interface Repository isn't exectly what I want, since it has "int" instead of "long" for the longlong entries.


john

   <<Less
About | Sitemap | Contact