delorie.com/archives/browse.cgi | search |
From: | caramaith <caramaith AT myokay DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: odd compiler error in DJGPP... |
Date: | Mon, 06 Mar 2000 02:15:19 +0100 |
Organization: | T-Online |
Lines: | 17 |
Message-ID: | <38C306A7.7BBC77A1@myokay.net> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000305154046 DOT 2134A-100000 AT is> |
Mime-Version: | 1.0 |
X-Trace: | news07.btx.dtag.de 952305452 12863 320054133135-0001 000306 01:17:32 |
X-Complaints-To: | abuse AT t-online DOT de |
X-Sender: | 320054133135-0001 AT t-dialin DOT net |
X-Mailer: | Mozilla 4.7 [de] (Win98; I) |
X-Accept-Language: | de |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
sorry, I should have stated, that CppLib.cpp is the object-file to CppLib.h, which is the header-file included in CppLibTest.cpp - so the could from the compiled CppLib.cpp (CppLib.o then) should be included naturally, shouldnt it???? Eli Zaretskii schrieb: > > On Sun, 5 Mar 2000, caramaith wrote: > > > it's the CppLib.h, CppLib.cpp and CppLibTest.cpp from Chapter 4 of > > Volume One of TIC++. Here they come... > > There are 2 source files in this program: CppLib.cpp and CppLibTest.cpp, > but your command only passed CppLibTest.cpp to the compiler. That's why > the linker complains: it cannot find the functions that are defined in > the second file, CppLib.cpp.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |