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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6413b417b806eb28 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Accessing C macro constants from Ada95 Date: 1999/04/13 Message-ID: <7euiru$4m9$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 465748254 References: <7eg43i$d3b$1@nnrp1.dejanews.com> <370CC730.4C6112DB@utech.net> <370D7007.2D3AD58B@rocketmail.com> <7el9so$geb@drn.newsguy.com> <7elrg5$egk2@ftp.kvaerner.com> <7emjk8$rp3@drn.newsguy.com> <7ep6uj$o97$1@nnrp1.dejanews.com> <7eqoj2$r27$1@pegasus.csx.cam.ac.uk> X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Apr 13 04:57:37 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-04-13T00:00:00+00:00 List-Id: In article , aidan@skinner.demon.co.uk (Aidan Skinner) wrote: > OTOH this is very definately a hack (although it does > mean you have the start of a proper binding to whatever) > and something that should have > been considered in the language design process. :( What makes you think it wasn't? Just because you don't see a solution to the problem you have in mind does not mean it was not considered. The current definitions in the RM for interface to C are what we decided were the appropriate level, and note that even most of these are implementation advice, rather than requirements, because it is VERY difficult to fashion requirements in this area, due to the huge variance in C compiler technologies with which one might want to interface. In fact binding generators like C2Ada (or the much more powerful SGI binding generator) are *exactly* the kind of tools that were envisioned during the design process as being *the* appropriate way to solve this problem. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own