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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.clipper Subject: Re: Ada and C Date: Mon, 21 Nov 2016 16:06:41 +0100 Organization: A noiseless patient Spider Message-ID: References: <1936435310.501421359.068647.laguest-archeia.com@nntp.aioe.org> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 21 Nov 2016 15:06:07 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="8fca5b85a8f4be6f0c23e518a39a42c3"; logging-data="23060"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7oDwjDoZyJ1MOR0lOd62zh/3XHz4pGPE=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:NwBaP6G3SwWzcnoUm89eRkOKEK8= Xref: news.eternal-september.org comp.lang.ada:32399 comp.lang.c:96534 comp.lang.clipper:1089 Date: 2016-11-21T16:06:41+01:00 List-Id: On 21.11.16 12:44, Mr. Man-wai Chang wrote: > On 21/11/2016 7:43 PM, Luke A. Guest wrote: >> Mr. Man-wai Chang wrote: >>> >>> Does Adata... sorry... Ada interact with C? >>> >> >> If you want it to > > Talking about physical reality *examples*! One example is an Ada program that calls POSIX routines as implemented for GNU/Linux, another is one that calls Windows™ GUI's functions (Win32). That, as well as the fact that the Ada standard specifies how Ada and C should interact (in LRM B.3, Interfaces.C), should answer the question not just by particular example but for every compiler on any supported system.