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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.4.69 with SMTP id 45mr4174284yhi.20.1381950676814; Wed, 16 Oct 2013 12:11:16 -0700 (PDT) X-Received: by 10.50.109.170 with SMTP id ht10mr679806igb.14.1381950676613; Wed, 16 Oct 2013 12:11:16 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!o2no8578131qas.0!news-out.google.com!9ni46435qaf.0!nntp.google.com!o2no8578126qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 16 Oct 2013 12:11:16 -0700 (PDT) In-Reply-To: <5b59543c-7c48-4427-afc6-30289f6d8895@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=RxNzCgoAAACA5KmgtFQuaU-WaH7rjnAO NNTP-Posting-Host: 66.126.103.122 References: <1374ac32-0fb5-4589-a9a5-7740030fd3c6@googlegroups.com> <4bb47482-ccb9-4641-a702-2b2978100ff9@googlegroups.com> <5b59543c-7c48-4427-afc6-30289f6d8895@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Passing a String to a C/C++ Subprogram (Special Case) From: Adam Beneschan Injection-Date: Wed, 16 Oct 2013 19:11:16 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:17441 Date: 2013-10-16T12:11:16-07:00 List-Id: On Wednesday, October 16, 2013 10:32:36 AM UTC-7, Martin wrote: =20 > > Yes, Adam. Thank you. Of course, Annex B is optional anyway. lol=20 > > I guess you choose your poison. >=20 > Annex B is part of the 'core language' - it isn't optional. Annex A and J= are also 'core'. The 'Special Needs Annex' sections are the 'optional' par= ts of the language. See 1.1.2 and 1.1.3. True, but implementations aren't required to support any foreign language d= escribed in Annex B. B(2): "Support for interfacing to any foreign languag= e is optional." So it's not required for an Ada compiler to support interf= acing to C. (And I hope it wouldn't be, not because interfacing to C isn't= important, but I sure wouldn't want every compiler to be required to inter= face to COBOL and Fortran, which are also part of Annex B.) -- Adam