comp.lang.ada
 help / color / mirror / Atom feed
From: ich_bin_elvis@hotmail.com
Subject: Re: SPARK and Interfaces.C
Date: 23 May 2005 02:48:36 -0700
Date: 2005-05-23T02:48:36-07:00	[thread overview]
Message-ID: <1116841716.694148.260010@g43g2000cwa.googlegroups.com> (raw)
In-Reply-To: <4lZe9SBIv7jCJwn3@diphi.demon.co.uk>

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?




  reply	other threads:[~2005-05-23  9:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 17:34 SPARK and Interfaces.C ich_bin_elvis
2005-05-13 19:40 ` JP Thornley
2005-05-14 12:15   ` Rod Chapman
2005-05-14 13:31     ` Martin Dowie
2005-05-14 15:41       ` Rod Chapman
2005-05-17 10:55     ` ich_bin_elvis
2005-05-17 14:40       ` Rod Chapman
2005-05-19  8:12         ` ich_bin_elvis
2005-05-19  8:46         ` ich_bin_elvis
2005-05-19  9:01           ` Rod Chapman
2005-05-19 10:25             ` ich_bin_elvis
2005-05-21 22:52               ` JP Thornley
2005-05-23  9:48                 ` ich_bin_elvis [this message]
2005-05-23 13:30                   ` JP Thornley
2005-05-23 15:10                     ` JP Thornley
2005-05-24  8:57                       ` ich_bin_elvis
2005-05-24 10:36                         ` JP Thornley
2005-05-24 20:34                           ` ich_bin_elvis
2005-05-25  7:54                             ` JP Thornley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox