comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: Help interfacing Ada and C++
Date: 1997/06/15
Date: 1997-06-15T00:00:00+00:00	[thread overview]
Message-ID: <866389462.35snx@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 33A28715.1558@codenet.net


>and everything seems to work OK, except when I #include <iostream.h>
>in the C++ code and try to use anything like "cout".  The Gnat linker
>complains about an undefined symbol.

you need to link in the code for iostream with the C++ module, like
-lstdcpp.

--

-- Jerry van Dijk  | Leiden, Holland
-- Consultant      | Team Ada
-- Ordina Finance  | jdijk@acm.org




  parent reply	other threads:[~1997-06-15  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-14  0:00 Help interfacing Ada and C++ Charlie Gage
1997-06-14  0:00 ` Robert Dewar
1997-06-15  0:00 ` Jerry van Dijk [this message]
1997-06-26  0:00 ` rou271
replies disabled

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