www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/18/12:22:42

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3316
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.dpc.net!news.heurikon.com!daffy!uwvax!newssinet!news.nc.u-tokyo.ac.jp!tkyex1.phys.s.u-tokyo.ac.jp!news.tisn.ad.jp!nova.geo.bosai.go.jp!statky2.stanet!news.imnet.ad.jp!usenet.seri.re.kr!news.dacom.co.kr!newsfeed.internetmci.com!in2.uu.net!satisfied.apocalypse.org!news2.near.net!newshost.williams.edu!newshost.williams.edu!not-for-mail
From: 96kfd AT williams DOT edu (der tanzende Tigger)
Newsgroups: comp.os.msdos.djgpp
Subject: linker problem with C++ program
Date: 17 Nov 1995 10:14:12 -0500
Organization: Williams College, Williamstown MA
Lines: 12
Nntp-Posting-Host: bigbird.cc.williams.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I have narrowed down the "multiply defined" problem I posted about
yesterday. I cannot find anything exactly like it in the FAQ or the
mailing list archive. The program
(ftp://student_96kfd.williams.edu/pub/planner/planner-1.0.tar.gz) is
written in C++ and has multiple objects; it uses inheritance (but not
multiple) and all of the .h files have #ifndef FILE_H etc. lines to
prevent multiple includes. It compiles just fine under gcc 2.7.0
(SunOS) but on djgpp 1.12m4 and djgpp 2.00, it claims a whole stream
of methods are multiply-defined. Any ideas at all?

--kd

- Raw text -


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