delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/27/08:15:04

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Unit Programming
Date: 27 Sep 2002 12:00:57 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 16
Message-ID: <an1h9p$397$1@nets3.rz.RWTH-Aachen.DE>
References: <an1d96$2a4$1 AT news1 DOT xs4all DOT nl> <an1eof$pp$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <an1h56$825$1 AT news1 DOT xs4all DOT nl>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1033128057 3367 137.226.32.75 (27 Sep 2002 12:00:57 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 27 Sep 2002 12:00:57 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ChaoTix <patrick DOT brouwer AT c-a-t DOT nl> wrote:
> Second problem is when I use only 1 header file <func.h>, and while
> compiling <test.cpp> I got this error:
> "dont know how to build func.o from func.h"

That's not the error you're getting from compiling test.cpp, almost
certainly.  That's exactly the error you get if you incorrectly put
func.h into the list of project source files.  Don't do that. For your
example, only test.cpp and func.cpp should be project source files.




-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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