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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,28f9da0e028af98b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Is the Ada compiler of Polyspace invalid? Date: Fri, 18 Feb 2011 16:42:38 +0000 Organization: A noiseless patient Spider Message-ID: References: <0c1168ed-e09e-4555-a77e-40620dd80628@f15g2000yqf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="10748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NMED5BBsjHeZ4Rd8LeDFzAdNnC5x0d2M=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:3FN9OxAN7WHZ7tcbqd963QwARUg= sha1:BlNqGxvN1rKx7nLOLhgy9p8nFwM= Xref: g2news1.google.com comp.lang.ada:17425 Date: 2011-02-18T16:42:38+00:00 List-Id: Paul Colin Gloster writes: > Julian Leyh sent on February 18th, 2011: > |-------------------------------------------------------------| > |"Hi, | > | | > |I have some Ada code, which I would like to try Polyspace on.| > | | > |It contains something like this (simplified): | > | | > |foo.ads: | > |procedure foo; | > | | > |foo.adb: | > |procedure foo is | > |... | > |end foo; | > | | > |somewhere else: | > |with foo;" | > |-------------------------------------------------------------| > > Hi, > > Do you really have something like that? You cannot WITH a procedure. Yes you can. ARM 10.1.1(6) [http://www.adaic.org/resources/add_content/standards/05rm/html/RM-10-1-1.html] includes subprogram_declaration in library_declaration. I assure you that this works!