www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/18:05:13

From: Peter Danielsson <e96pd AT efd DOT lth DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Help! I cant link c-source with c++-source
Date: Tue, 16 Jun 1998 12:47:20 +0200
Organization: student
Lines: 5
Message-ID: <35864D37.69F2@efd.lth.se>
Reply-To: e96pd AT efd DOT lth DOT se
NNTP-Posting-Host: cie96ojo.student.lth.se
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm using allegro and it is c. I'm more used to c++, so i tried to have
the mainprogram in one file with the extension .c and wanted to call my
functions in a .cpp-file. The gcc-compilation works good, but when
linking it cant find my functions in the .cpp-file. What must I do to
link two different sources?

- Raw text -


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