cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/15/07:16:53

From: "Jason" <dygron AT ace-net DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling C and C++ in same project
Date: 15 Apr 1998 03:57:14 GMT
Organization: Easy Access Australia
Lines: 11
Message-ID: <01bd6822$b737b4e0$99a325cb@jring>
NNTP-Posting-Host: port04.ace-net.com.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

	I have written some code in C++ and would like to add prewritten code and
object files which were written in C.  Unfortunately, when the linker gets
hold of the object files compiled under C to be linked with the object file
compiled unter C++, I get errors saying that the functions defined in the C
modules do not exist (but they really do!).  Is there a way to link both
compiler types within the same project or do I have to rewrite them all to
the same type?  (Also, could someone explain what the difference between
object files produced by a C compiler, and object files produced by a C++
compiler?).  Note: I'm using RHIDE to make projects...could this have
something to do with it?  I'm confused!!!
	Jason. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019