delorie.com/archives/browse.cgi | search |
From: | "Lars A. Christensen" <Lars DOT Christensen AT geoteknisk DOT dk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: C & C++ mixed? |
Date: | Mon, 15 Dec 1997 08:38:43 +0100 |
Organization: | Danish Geotechnical Institute |
Lines: | 20 |
Message-ID: | <3494DE83.6CE9@geoteknisk.dk> |
References: | <349215bb DOT 9779905 AT news DOT primenet DOT com> |
Reply-To: | Lars DOT Christensen AT geoteknisk DOT dk |
NNTP-Posting-Host: | gateway.geoteknisk.dk |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Mike McLean wrote: > > I'm using DJGPP 2.01 with RHIDE 1.4. I have a problem when compiling > some c files with a .cpp file. They all compile fine, but when it > gets to linking it says in a c file that it can't find the reference > to a function in the .cpp file. I am also using allegro 3.0 beta > (need to get full release) > > If needed I will post the code I am using. Take a look at http://www.cerfnet.com/~mpcline/C++-FAQs-Lite/mixing-c-and-cpp.html especialy http://www.cerfnet.com/~mpcline/C++-FAQs-Lite/mixing-c-and-cpp.html#[29.6] you will find the answer there. -- Lars A. Christensen <Lars DOT Christensen AT geoteknisk DOT dk>, http://www.geocities.com/SiliconValley/Vista/3653/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |