www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/02/02:00:15

From: James W Sager Iii <sager+@andrew.cmu.edu>
Newsgroups: comp.os.msdos.djgpp
Subject: won't compile with new gcc
Date: Sat, 2 Sep 2000 00:55:32 -0400
Organization: Fifth yr. senior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA
Lines: 62
Message-ID: <Ytg8V4q00Uw=EL0kVN@andrew.cmu.edu>
NNTP-Posting-Host: andrew.cmu.edu
X-Trace: bb3.andrew.cmu.edu 967870655 739 128.2.10.101 (2 Sep 2000 04:57:35 GMT)
X-Complaints-To: advisor AT andrew DOT cmu DOT edu
NNTP-Posting-Date: 2 Sep 2000 04:57:35 GMT
X-Added: With Flames (outnews v2.6)
Path: news.mv.net!newspeer.phoen-x.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!portc01.blue.aol.com!pitt.edu!nntp.club.cc.cmu.edu!xxxx1.sei.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!sager+
Xref: news.mv.net comp.os.msdos.djgpp:103065

I need to do a revamp and update all my files to current files as I am 2
years or more back as far as djgpp is concerned.

I updated everything as instructed on the delorie site, but now my
program will not compile.  I fear it has something to do with c++ as
most of my files compiled, but this one didn't and its using c++

I don't think I can make any progress until this is fixed

Critical compile listing excerpt:
 guts.cc(1)                  from guts.cc:1:
 In method `ios::~ios()':
 c:/tc/include/streambu.h(471) Warning:  `void *' is not a pointer-to-object t
 At top level:
 guts.cc(79) Error: definition of implicitly-declared `GUT::GUT()'
 guts.cc(79) Error: redefinition of `GUT::GUT()'
 c:/tc/include/util3.h(274) Error: `GUT::GUT()' previously defined here
 There were some errors

Full compile listing:
 Compiling: 000165.cc
 c:/tc/include/util3.h(8) In file included from c:/tc/include/util3.h:8,
 000165.cc(1)                  from 000165.cc:1:
 c:/tc/include/string.h(13) Warning:  `NULL' redefined
 c:/t/lang/cxx/libio.h(96) Warning:  this is the location of the previous defi
 c:/tc/include/iostream.h(31) In file included from c:/tc/include/iostream.h:3
 c:/tc/include/util3.h(6)                  from c:/tc/include/util3.h:6,
 000165.cc(1)                  from 000165.cc:1:
 In method `ios::~ios()':
 c:/tc/include/streambu.h(471) Warning:  `void *' is not a pointer-to-object t
 no errors
 Compiling: cut.cc
 c:/tc/include/util3.h(8) In file included from c:/tc/include/util3.h:8,
 cut.cc(1)                  from cut.cc:1:
 c:/tc/include/string.h(13) Warning:  `NULL' redefined
 c:/t/lang/cxx/libio.h(96) Warning:  this is the location of the previous defi
 c:/tc/include/iostream.h(31) In file included from c:/tc/include/iostream.h:3
 c:/tc/include/util3.h(6)                  from c:/tc/include/util3.h:6,
 cut.cc(1)                  from cut.cc:1:
 In method `ios::~ios()':
 c:/tc/include/streambu.h(471) Warning:  `void *' is not a pointer-to-object t
 no errors
 Compiling: guts.cc
 c:/tc/include/util3.h(8) In file included from c:/tc/include/util3.h:8,
 guts.cc(1)                  from guts.cc:1:
 c:/tc/include/string.h(13) Warning:  `NULL' redefined
 c:/t/lang/cxx/libio.h(96) Warning:  this is the location of the previous defi
 c:/tc/include/iostream.h(31) In file included from c:/tc/include/iostream.h:3
 c:/tc/include/util3.h(6)                  from c:/tc/include/util3.h:6,
 guts.cc(1)                  from guts.cc:1:
 In method `ios::~ios()':
 c:/tc/include/streambu.h(471) Warning:  `void *' is not a pointer-to-object t
 At top level:
 guts.cc(79) Error: definition of implicitly-declared `GUT::GUT()'
 guts.cc(79) Error: redefinition of `GUT::GUT()'
 c:/tc/include/util3.h(274) Error: `GUT::GUT()' previously defined here
 There were some errors




- Raw text -


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