Hi Dave,
Thanks v. much for the bug report, I'm afraid that I won't be able to
look at this until later in the week once the 0.29 release is out the
door.
Cheers,
Phil
Dave Dunkin writes:
> There seems to be a problem when an idl includes another while in inhibit mode.
> The inhibit mode is necessary for idls that reference symbols defined in other
> idls, but don't want to implement them. Attached are two files that reproduce
> the error.
>
> Attempting to compile worm.idl with 'orbit-idl -l c++ worm.idl' yields:
> apple.idl:4: unknown identifier ::Fruit::Apple
>
> Dave
>
> --
> Never agree to plastic surgery if the doctor's office is full of portraits
> by Picasso.
>
> module Fruit
> {
> enum Apple
> {
> red,
> green
> };
> };
> #pragma inhibit push
> #include "apple.idl"
> #pragma inhibit pop
>
> module Fruit
> {
> interface Worm
> {
> void eat(in Apple apple);
> };
> };
|