From: "Ed Manlove" Newsgroups: comp.os.msdos.djgpp References: 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: 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)': :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 *)': :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 *)': :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