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,90f687f65a66617e X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Simple ADA/C Question Date: 1997/03/02 Message-ID: #1/1 X-Deja-AN: 222627739 References: <01bc23b2$ecc64960$64e2b8cd@p5120.bda> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-03-02T00:00:00+00:00 List-Id: Keith said <> I understand that position, but the trade off is between piles of annoying conversions and much more straightforward code in some instances. However, this was not the issue, Bob said that using int on the C side and Integer on the Ada side definitely *will* cause problems, and this is plain wrong! Are there any compilers incidentally where int in C is not the same as Integer in Ada? Certainly int = Integer on all GNAT compilers. Hard to believe that anyone would deviate from this equivalence. Given that the choice of what Integer means in Ada is definitely implementation dependent, it seems foolish to make any other choice.