Re: ORBit-0.5.7 bug: non-root process can't talk to root process!



Hi Elliot,

> > Yeah, the last version of ORBit, that had a void
> > giop_send_buffer_write is 0.4.3 from April 1999. I don't think anyone
> > still uses such an old version and if he does, he is on his own.
> 
> You make a good point about how old the latest conflicting ORBit version
> is. If you could figure out a clean, simple way to add library version
> checking to the stubs (the orbit_{major,minor,micro} variables exist to
> aid this), so that a clear error message/failure mode is produced by using
> the new stubs with 0.4.3, then making the original change would seem more
> reasonable to me.

We could simply add a

if ! (ORBIT_MAJOR_VERSION > 0 || \
     (OTBIT_MAJOR_VERSION == 0 && ORBIT_MINOR_VERSION > 4) || \
     (ORBIT_MAJOR_VERSION == 0 && ORBIT_MINOR_VERSION == 4 && \
      ORBIT_MICRO_VERSION >= 90))
#error Your libraries and headers for ORBit should at least have the
#error version 0.4.90, preferably one of the 0.5.* series to compile this.
#endif

to all headers generated by orbit-idl.

Bye,
Sebastian
-- 
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]