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,3c42d4793dc714ed X-Google-Attributes: gid103376,public From: bbalfour@std.caci.com (Brad Balfour) Subject: Re: Pro*Ada and Gnat Date: 1997/03/03 Message-ID: #1/1 X-Deja-AN: 222814852 References: <5f9hlt$7j9@hetre.wanadoo.fr> Organization: CACI, Inc. Newsgroups: comp.lang.ada Date: 1997-03-03T00:00:00+00:00 List-Id: In article <5f9hlt$7j9@hetre.wanadoo.fr>, Rosen.Adalog@wanadoo.fr wrote: >We have been unable to use Pro*Ada (Oracle) with Gnat. Apparently, >Pro*Ada uses heavily unchecked_conversions between pointers and >adresses, and other doubtful features; has anyone succeded to use >Pro*Ada with Gnat ? In 1995 and early 1996, the Airfields project (one of the AJPO sponsored Ada 95 Transition Partnership Projects) ran up against this same barrier. The project's conclusion was that the Pro*Ada bindings and tools are compiler specific -- they only work with the Ada 83 VADS compiler and no other. The project attempted to make use of the suggestions from ACT regarding fat vs. thin pointers. However, this was not enough to overcome the compiler specific choices made in the Pro*Ada bindings. In many places, the binding does not hard code rep spec values, but rather depends on the memory size allocations that VADS chooses for Ada objects to match the C code. GNAT's choices did not match. Since the C headers are *not* provided with Pro*Ada, and the Ada code does not have rep specs, the project was unable to match GNAT to the Pro*Ada bindings. Instead, this project made use of the Ada SQL Connect product from OIS . The software enabled the use of Oracle from Ada 95/GNAT via ODBC. It worked very well. Brad -- Brad Balfour AJPO Ada 95 Transition Support SIGAda WWW Server CACI, Inc. http://www.acm.org/sigada/ (703) 277-6767 and also try: bbalfour@std.caci.com http://www.adahome.com/ 3930 Pender Drive Fairfax, VA 22030 "...they even have rules for exceptions" -- Dewar and Schonberg