delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/08/12:45:10

From: "Ed Manlove" <emanlove AT ieee DOT org>
Newsgroups: comp.os.msdos.djgpp
References: <E1ko9.403$Od5 DOT 125528170 AT news DOT netcarrier DOT net>
Subject: Re: `operator new' takes type `size_t' as first parameter Revisited
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <KjDo9.413$%l6.129756284@news.netcarrier.net>
Date: Tue, 8 Oct 2002 12:31:25 -0400
NNTP-Posting-Host: 207.207.243.243
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 1034092906 207.207.243.243 (Tue, 08 Oct 2002 12:01:46 EDT)
NNTP-Posting-Date: Tue, 08 Oct 2002 12:01:46 EDT
Organization: NetCarrier Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

If I comment out the offending lines in tinfo.cc

> In file included from ../../gcc/cp/tinfo.cc:32:
> include/new:28: `operator new' takes type `size_t' as first parameter
> include/new:29: `operator new' takes type `size_t' as first parameter
> include/new:32: `operator new' takes type `size_t' as first parameter
> include/new:33: `operator new' takes type `size_t' as first parameter
> include/new:38: `operator new' takes type `size_t' as first parameter
> include/new:39: `operator new' takes type `size_t' as first parameter

I get the following errors

../../gcc/cp/tinfo.cc: In function `void __rtti_class(void *, const char *,
const __class_type_info::base_info *, long unsigned int)':
<internal>:52: too many arguments to function `void * operator new(unsigned
int)'
../../gcc/cp/tinfo.cc:52: at this point in file
../../gcc/cp/tinfo.cc: In function `void __rtti_si(void *, const char *,
const type_info *)':
<internal>:58: too many arguments to function `void * operator new(unsigned
int)'
../../gcc/cp/tinfo.cc:58: at this point in file
../../gcc/cp/tinfo.cc: In function `void __rtti_user(void *, const char *)':
<internal>:63: too many arguments to function `void * operator new(unsigned
int)'
../../gcc/cp/tinfo.cc:63: at this point in file
make.exe[4]: *** [tinfo.o] Error 1
make.exe[3]: *** [libgcc2.a] Error 1
make.exe[2]: *** [stmp-multilib-sub] Error 2
make.exe[1]: *** [stmp-multilib] Error 1
make.exe: *** [all-gcc] Error 2



- Raw text -


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