[omniORB] structs and nested typedefs/structs

Stefan Seefeld seefelds@MAGELLAN.UMontreal.CA
Tue, 04 Jan 2000 21:58:20 -0500


I'm trying to figure out whether it is legal to have
type declarations inside structs. The documents I read
aren't terribly clear about this issue and omniidl2 refuses
the following declaration:

struct foo
{
  typedef long bar;
  struct boo { short s;};
};

What is allowed inside structs and what isn't ?

Thanks,	Stefan
_______________________________________________________              
              
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: seefelds@magellan.umontreal.ca

_______________________________________________________

      ...ich hab' noch einen Koffer in Berlin...