[omniORB] omniidl2 bug

Viacheslav N Tararin taras@deka.kp.km.ua
Wed, 29 Dec 1999 16:58:26 +0200


Hi.

It's part of CosCollection.idl

interface KeyCollection : Collection {
  //  c o m p u t i n g   t h e   k e y s
  void key (in any element, out any key)
   raises (ElementInvalid);
  void keys (in AnySequence elements, out AnySequence keys)
   raises (ElementInvalid);
};

Prodused file CosCollection.hh  containts:

(5114)    virtual void key(const CORBA::Any & element, CORBA::Any *&
key) = 0;
(5115)    virtual void _0RL__key(const CORBA::Any & element, CORBA::Any
*& key) {
(5116)      key(element, key);
(5117)    }
(5118)    virtual void keys(const AnySequence & elements, AnySequence *&
keys) = 0;
(5119)    virtual void _0RL__keys(const AnySequence & elements,
AnySequence *& keys) {
(5120)     keys(elements, keys);
(5121)   }

On WinNT it's prodused error

 cl.exe /c /nologo /D__x86__ /D__NT__ /D__WIN32__ /GX /TP /MD
-I..\..\..\..\omni\include -I..\..\include -I..\..\include\ui
LLsControlsDynSK.cpp /Fo..\..\obj\LLsControlsDynSK.obj
LLsControlsDynSK.cpp
..\..\include\omg/CosCollection.hh(5114) : error C2064: term does not
evaluate to a function
..\..\include\omg/CosCollection.hh(5118) : error C2064: term does not
evaluate to a function

Environment WinNT 4.0 SP3 VC6.0 omniORB2 (2.8.0).

Happy New Year.
Tararin Slavik.