Can you call Ada functions from C++?
I'm a complete Ada newbie, though I've used Pascal for 2-3 years during HS. IIRC, it is possible to call Pascal compiled functions from C/C++. Is it possible to call procedures & functions written in Ada from C++? VonC According to this old tutorial , it should be possible. However, as illustrated by this thread , you must be careful with the c++ extern "C" definitions of your Ada functions. Here's an example using g++/gnatmake 5.3.0: NOTE: Be careful when passing data between C++ and Ada ada_pkg.ads package Ada_Pkg is procedure DoSomething (Number : in Integer); pragma Export (C, DoSomething,