[omniORB] omniORB 2.7.0 is released!

Sai-Lai Lo S.Lo@orl.co.uk
26 Jan 1999 16:11:01 +0000


>>>>> Martin Renner writes:

> Hi.
>> omniORB2\include\omniORB2/bufferedStream.h(621) : warning C4800:
> [...]
>> 620:  inline void byteOrder(_CORBA_Char b) {
>> 621:    pd_byte_order = b;
>> 622:  }
>> 
>> 692:  _CORBA_Boolean   pd_byte_order;

> Noone of the programmers wants to give a statement about that?

> I think that one should change the implementation of "byteOrder". Either
> _CORBA_Boolean or _CORBA_Char, but not both mixed up.... or am I wrong?

> I want to compile my applications without any warning messages from the
> compiler. But "bufferedStream" causes a warning in each skeleton file.

Yes, it is a mistake. Part of the changes in a big merge got left out.
Will be fixed in future releases. In the mean time:

Just do this:

bufferedStream.h, line 621:

	    pd_byte_order = (b != 0);

Sai-Lai



-- 
Dr. Sai-Lai Lo                          |       Research Scientist
                                        |
E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Research Lab
                                        |       24a Trumpington Street
Tel:            +44 223 343000          |       Cambridge CB2 1QA
Fax:            +44 223 313542          |       ENGLAND