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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,421f00454ed1208d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!o36g2000vbi.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: SPARK - runtime checks question Date: Fri, 19 Jun 2009 14:38:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <8d79ac48-d35d-4717-aca3-68f036de0de3@f16g2000vbf.googlegroups.com> NNTP-Posting-Host: 83.79.46.147 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1245447494 13105 127.0.0.1 (19 Jun 2009 21:38:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 19 Jun 2009 21:38:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o36g2000vbi.googlegroups.com; posting-host=83.79.46.147; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6548 Date: 2009-06-19T14:38:14-07:00 List-Id: On 19 Cze, 18:04, Rod Chapman wrote: > The Examiner, by default, doesn't know the values of Natural'First > and Natural'Last, since these are implementation-defined. > > You can supply these values with a configuration file - see > the Examiner User Manual. =A0Run the Examiner > with the -conf switch to re-generate the VCs, then re-simplify. > I then get 100% of the VCs proved. Done, it works - thank you. I have used the confgen program form lib/ spark. Is it considered to be a good practice to always provide the config file that was generated for the target platform? BTW - when the config file is provided, spark always reports this: Reading target configuration file ... 10 type Address is private; --- Note : 3: The deferred constant Null_Address has been implicitly defined here. 21 subtype Priority is Any_Priority range 0 .. 62; --- Note : 4: The constant Default_Priority, of type Priority, has been implicitly defined here. [...] 2 errors or warnings, comprising: 2 warnings Is this normal? -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada