[omniORB] unions and multiple discriminators per type

Stefan Seefeld seefelds@MAGELLAN.UMontreal.CA
Tue, 04 Jan 2000 22:33:04 -0500


The following code produces an error with omniidl2:

union foo switch (char)
{
  case 'a': char a;
  case 'b':
  case 'c': char bar;
};

results in an error message about a redefinition of 'bar'.

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

_______________________________________________________

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