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,c370342fe303517b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Sat, 03 Feb 2007 13:43:50 -0600 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: C Interface example References: <1170516037.435847.326440@p10g2000cwp.googlegroups.com> <87irejmd3v.fsf@ludovic-brenta.org> Date: Sat, 03 Feb 2007 20:43:50 +0100 Message-ID: <87ejp7m3gp.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:POxpVdyskCZfvOzy5wJp2MUnpxI= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 62.235.246.78 X-Trace: sv3-ye3QzOOnigm0Gw6KL7ndrMr/kyVoZqeeBtmPVikSi82g8nDp/m7IfbsvkABa8Y7EHg8kJJZ8bONS7l4!NpTSU+5grA0bHSSDATd9xeuOHhcn4IKqKpmTDsYZDIMBsk/w/ljMLk/XC+q3vq3vGrE8nOxk6w== X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:8892 Date: 2007-02-03T20:43:50+01:00 List-Id: Simon Wright writes: > Ludovic Brenta writes: > >> type Array_Of_Floats is array (Natural range <>) of Float; > > Is it unnecessary to say pragma Convention (C, Array_Of_Floats) here? After reading B.1(26) and B.1(13 .. 20), I think the answer is yes. But in practice, with GNAT, this is probably unnecessary because of B.1(20). -- Ludovic Brenta.