[omniORB] IDL modules
Peter Ledbrook
p.ledbrook@psenterprise.com
Tue, 24 Aug 1999 17:03:48 +0100
Thank you. Much appreciated (especially the quick response).
Peter
Duncan Grisby wrote:
> On Tuesday 24 August, Peter Ledbrook wrote:
>
> [... can modules be re-opened ...]
>
> > I ask because omniidl2 on NT4 (omniORB 2.7.1) thinks this is OK, but the
> > same compiler on IRIX 6.5 says that it is a redefinition of 'my_mod' and
> > is thus an error. Surely not everything in a module needs to be declared
> > within the same set of braces? All I want is for A and B to be in the
> > same module but not the same file.
>
> IDL does permit modules to be re-opened. However, for this to work,
> your C++ compiler must support namespaces. If it doesn't, modules map
> to nested classes; you can't re-open classes, so module re-opening is
> impossible.
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby \ Research Engineer --
> -- AT&T Laboratories Cambridge --
> -- http://www.uk.research.att.com/~dpg1 --