comp.lang.ada
 help / color / mirror / Atom feed
* Calling C++ from within ADA
@ 1994-11-03 12:53 CVANOVER
  1994-11-03 15:11 ` Norman H. Cohen
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: CVANOVER @ 1994-11-03 12:53 UTC (permalink / raw)


Is there a way to call a C++ procedure from within ADA? I can call a C 
procedure with 

package C_LIB is
        procedure clear_screen;
        procedure sleep_a_moment;
private
        pragma interface(c,clear_screen);
        pragma interface(c,sleep_a_moment);
end C_LIB;

However, when I compile the same C procedure in C++ I get the following error:
0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load map.
.clear_screen

I've tried adding INTERFACE_INFORMATION but it doesn't seem to help.  

I am using IBM AIX on an RS6000.

Thank you
Chris Vanover
The University of Alabama
CVanover@bamanet.ua.edu




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1994-11-08 18:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-11-03 12:53 Calling C++ from within ADA CVANOVER
1994-11-03 15:11 ` Norman H. Cohen
     [not found] ` <CypvDM.8q5@nntpa.cb.att.com>
1994-11-04 17:31   ` Greg Harvey
1994-11-04 17:46     ` Greg Harvey
1994-11-07  2:52 ` Oliver E. Cole
1994-11-08 15:22 ` Eric Beser
1994-11-08 18:34 ` Richard G. Hash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox