TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: George Moralez
from: William Bell
date: 1995-03-02 09:54:00
subject: Borland 3.1 Question

GM> When I build this thing I get errors on every member function in each
  > class.cpp file.  The errors state, as an example;
  > Linker error Cstring::operator=(const char near& ) defined in cstring.cpp
  >       is duplicated in cstring.cpp.
  > Same error, different functions.
  > Linker error CSTRING::FUNCTION defined in cstring.cpp is duplicated in
  > cstring.cpp.
  > Linker error CPERSON::FUNCTION defined in cperson.cpp is duplicated in
  > cperson.cpp.

This is a nasty little problem in Borland products that I have been able to
produce by including the header files in the project.  When you define the
project, make sure that the header files are not included in the project.  I
have had to delete a project and recreate it to correct the problem is some
cases.

Hope this is it,

WDB


 -- SPEED 1.40 [NR]: if (boolHeadache) { strcpy (szJob, "Programmer"); }

--- Maximus/2 2.02
* Origin: * MacSavvy * Dallas * Mac * OS/2 * (214)250-4479 * (1:124/1208)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 124/1208 1204 1 396/1 3615/50 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.