[omniORB] IDL Case
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 21 Jun 2001 11:45:31 +0100
On Tuesday 19 June, Craig Rodrigues wrote:
> On Tue, Jun 19, 2001 at 11:58:48AM -0500, Stephen P. White wrote:
> > I have old IDL code which was written with Fnorb. We would like to
> > convert to omniORBpy but have a case issue. Under Fnorb the IDL shown
> > below was legal.
> >
> > module m {
> > interface M {
> > };
> > };
[...]
> To get a list of all the command-line flags to omniidl, type:
> omniidl -u
>
> You will see a flag:
> -nc Do not treat identifiers differing only in case as an error
Despite the fact that I implemented this flag, I strongly advise
everyone not to use it. The IDL is illegal, and more and more IDL
compilers are coming to treat it as such. I think it's better to fix
broken IDL as soon as possible, rather than carrying on with a
work-around. One day, you might find yourself having to use an ORB
which doesn't have the work-around. It's better to change the IDL now,
rather than later when there's even more stuff to change.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --