This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: remove NOT_IN_RAM handling
On Thu, 2003-11-20 at 06:51, Jani Monoses wrote:
> > You might leave the interface in the CDL and make it an error if it
> > is ever "implemented". That way we'd catch the problem as soon as
> > possible.
>
> I thought the config system would detect that an unknown interface is
> implemented. How should I make this error, emit some #error directive
> in the system.h file from the interface? I don't know that much about CDL.
>
I think implementing an unknown interface is treated as a NO-OP.
The best way would be like this:
cdl_interface XYZ {
}
requires { !XYZ }
This way, if it is ever implemented, the "requires" statement can't be
satisfied and there will be an error.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss