www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/04/17:31:48

From: "Todd Rowan" <tcrowanxxx AT dylan DOT imation DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP: Linker hates me!
Date: Mon, 4 May 1998 14:26:17 -0700
Organization: remove xxx from address to reply
Lines: 17
Message-ID: <6ilbqk$q2r@news9.noc.netcom.net>
References: <354E35F1 DOT 4EE71278 AT sprynet DOT com>
NNTP-Posting-Host: 206.216.46.127
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Your linker doesn't hate you, you're just not treating it right. Create a
header file called Stuff.h with the function prototype. Then put

#include "stuff.h"

in your main.cc file with the other headers. Then make sure stuff.cc and
stuff.h are accessible to the linker.

Ishpeck wrote in message <354E35F1 DOT 4EE71278 AT sprynet DOT com>...
>When I compile my project from RHIDE, the linker returns an error at
>a point where I call a function from another source file.  The function
>is prototyped.... so, I shouldn't imagine why it's telling me that it
>is undeclared.... it looks something like this
>



- Raw text -


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