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: 109fba,c8b7c9225d2bff0c,start X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,c8b7c9225d2bff0c,start X-Google-Attributes: gid103376,public From: Nigel Williams Subject: Ada95 & C++ Interfacing Date: 1996/08/01 Message-ID: <3200BA54.529A@dra.hmg.gb>#1/1 X-Deja-AN: 171419048 content-type: text/plain; charset=us-ascii organization: Defence Research Agency mime-version: 1.0 newsgroups: comp.lang.ada,comp.lang.c++ x-mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u) Date: 1996-08-01T00:00:00+00:00 List-Id: Hi There, I am currently designing a new distributed Air Traffic control system for the European Commission. At the heart of this system will be an API which will provide the services necessary to support the system's architectural model; this is based on the client/server model. Further the API will have to support existing C, C++, Ada 83 and FORTRAN code. Although CORBA would be an excellent choice, this is currently not an option (silly isn't it). I am considering implementing this layer in C++ in order to take advantage of the characteristics of OOP, particularly inheritance & polymorphism. In order to re-use existing Ada 83 legacy systems, I am trying to gather information and refernece material concerning the interfacing between Ada95 & C++. I have been looking at the ex6_main example distributed with the GNAT source. This is a start but I am unable to locate documentation relating to pragma CPP_Class, CPP_Vtable, CPP_Virtual etc. Can you help ? Is the C++ interface part of the language ? Will all Ada95 compilers be required to support this interface ? Initially I will be developing ideas using gcc & gnat. Eventually I will probably develop the system using Rational Apex. Does gdb support debugging of mixed language systems ? I would appreciate help and guidance on this matter. Nigel Williams Room B1013 ATC Systems Group Defence Research Agency Malvern Worcestershire WR14 3PS. UK Tel: (44) 1684 896635 Fax: (44) 1684 894109 E-Mail: nigel.williams@dra.hmg.gb