From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b2df4819ac8b566a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: ich_bin_elvis@hotmail.com Newsgroups: comp.lang.ada Subject: Re: SPARK and Interfaces.C Date: 23 May 2005 02:48:36 -0700 Organization: http://groups.google.com Message-ID: <1116841716.694148.260010@g43g2000cwa.googlegroups.com> References: <1116005688.002279.128010@g43g2000cwa.googlegroups.com> <1116072937.506109.246460@g47g2000cwa.googlegroups.com> <1116327342.680775.205190@o13g2000cwo.googlegroups.com> <1116340818.264418.117280@g14g2000cwa.googlegroups.com> <1116492378.074823.321470@g43g2000cwa.googlegroups.com> <1116493274.004505.67590@g49g2000cwa.googlegroups.com> <1116498302.651121.297610@g49g2000cwa.googlegroups.com> <4lZe9SBIv7jCJwn3@diphi.demon.co.uk> NNTP-Posting-Host: 158.39.162.180 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1116841721 2533 127.0.0.1 (23 May 2005 09:48:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 May 2005 09:48:41 +0000 (UTC) In-Reply-To: <4lZe9SBIv7jCJwn3@diphi.demon.co.uk> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=158.39.162.180; posting-account=0aqxew0AAACkVywG-5LBKAoZkI4b4H_t Xref: g2news1.google.com comp.lang.ada:11119 Date: 2005-05-23T02:48:36-07:00 List-Id: Now I have sparked the adadll.ads spesifcation file with the use of interfaces.C. Ada have moved on to Adadll.adb this one uses the elementary functions. and I have added. ada.numerics.elementary_functions; on the inherit clause in the ads file. when I try to spark then I get an error when I try to spark the ads file again. Examining the specification of package Elementary_Functions ... 1 package Ada.Numerics.Elementary_Functions is ^ *** Semantic Error : 1: The identifier Numerics is either undeclared or not visible at this point. Examining the specification of package Adadll ... 4 --#inherit System, Interfaces.C, Ada.Numerics.Elementary_Functions; ^ *** Semantic Error : 1: The identifier Numerics is either undeclared or not visible at this point. 130 end Adadll; --- Warning : 10: The private part of package Adadll is hidden - hidden text is ignored by the SPARK Examiner. Generating listing file ADADLL.LST ... Generating report file ... Ive added Ada.Numerics specification is in ada-numerics.ads Ada.Numerics.Elementary_Functions specification is in ada-numerics-elementary_functions.ads in my Index file where ada-numerics.ads is an empty package ada.numerics is end package; Ada.numerics.elementarty_functions contains all the functions I use like Cos,Sin and Atan. could some one help me please?