Re: ADA/C++ Compatibility problems

Dave Papay M/S 7G32 x2791 <papayd@gtewd.mtv.gtegsc.com>
Mon, 21 Aug 1995 15:45:37 GMT

          From comp.compilers

Related articles
ADA/C++ Compatibility problems dasilvia@sonalysts.com (1995-08-18)
Re: ADA/C++ Compatibility problems papayd@gtewd.mtv.gtegsc.com (Dave Papay M/S 7G32 x2791) (1995-08-21)
Re: ADA/C++ Compatibility problems bobduff@world.std.com (1995-08-21)
Re: ADA/C++ Compatibility problems stachour@klondike.winternet.com (1995-08-25)
Re: ADA/C++ Compatibility problems jan@neuroinformatik.ruhr-uni-bochum.de (1995-08-30)
Re: ADA/C++ Compatibility problems gbaker@rp.CSIRO.AU (1995-09-07)
Re: ADA/C++ Compatibility problems jan@neuroinformatik.ruhr-uni-bochum.de (1995-09-07)
Re: ADA/C++ Compatibility problems leichter@zodiac.rutgers.edu (1995-09-07)
[3 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: Dave Papay M/S 7G32 x2791 <papayd@gtewd.mtv.gtegsc.com>
Keywords: Ada, C++
Organization: Compilers Central
References: 95-08-127
Date: Mon, 21 Aug 1995 15:45:37 GMT

When linking/binding your Ada main program, you may have to include
link options so that any required C/C++ libraries are included as
well. I suspect this because of your comment "certain C++ functions
(i.e., streaming operations like cout or cin)." Hope this helps.
The pragmas only tell the Ada compiler not to expect an (Ada) body
for the function, and (in some cases) tell the linker where the
object code for the function is.




David Papay
papay@acm.org (preferred)
dpapay@scuacc.scu.edu (alternate)
http://www.acm.org/~papay/
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.