[omniORB] typedef enum causes error

Jonas Reimers jonas.reimers@se.adtranz.com
Fri, 27 Apr 2001 11:26:32 +0100


end
I am writing an IDL file that includes some enumerations. When I am trying to
write typedef enum  omniidl complains and I gets
: Syntax error in interface body

My code is simular to the one below
/***************************************************************************************************************************************************************/
interface Op
{

     typedef enum eT
     {
          _Ok,
          _Update
     };

//<other  declarations>


eT S(in long Seq ); // function with eT as return type.


//<other functions>


};// end of Op interface

/********************************************************************************************************************************************************************/

Why is that?

/Jonas Reimers


Win NT 4.0 sp6
MSVC++5.0 sp3
omniORB303
gnu-win32-lite
omniPython-x86_win32