* Ada/C++ Interfacing With C++ Exceptions
@ 1998-05-01 0:00 Perry Adams
0 siblings, 0 replies; only message in thread
From: Perry Adams @ 1998-05-01 0:00 UTC (permalink / raw)
I am writing Ada 83 bindings to C++ code on a Sun (SunAda 2.1.1 and C++
SC3.0.1). Everything works until the C++ code raises an exception.
Even though the C++ code has exception handlers, they are not being
handled. I think the problem is that the C++ exception libraries is not
being linked. The Ada compiler uses /usr/ccs/bin/ld to link while the
C++ compiler uses /usr/ucb/ld. The C++ compiler passes -exceptions
option to ld when exceptions are needed. The linker used by the Ada
compiler does not have a similar option. Is there a specific library
that I need to link with to get C++ exceptions? What is the difference
between the linkers? Are my problems due to older compilers?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-05-01 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-01 0:00 Ada/C++ Interfacing With C++ Exceptions Perry Adams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox