From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25622 invoked by alias); 20 Nov 2003 14:11:30 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 25610 invoked from network); 20 Nov 2003 14:11:29 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 20 Nov 2003 14:11:29 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 1390350D8D6; Thu, 20 Nov 2003 07:11:28 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 8D18350D8DA; Thu, 20 Nov 2003 07:11:09 -0700 (MST) From: Gary Thomas To: Jani Monoses Cc: ecos-discuss@sources.redhat.com In-Reply-To: <20031120155141.6d633808.jani@iv.ro> References: <20031120130610.0fde112f.jani@iv.ro> <20031120123931.GB9114@lunn.ch> <20031120143136.68a54d20.jani@iv.ro> <1069335883.1961.642.camel@hermes> <20031120155141.6d633808.jani@iv.ro> Content-Type: text/plain Organization: MLB Associates Message-Id: <1069337465.1961.645.camel@hermes> Mime-Version: 1.0 Date: Thu, 20 Nov 2003 14:11:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] Re: remove NOT_IN_RAM handling X-SW-Source: 2003-11/txt/msg00270.txt.bz2 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 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