🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1296

Re: 2.3.2: friend decl breaks member op new

#1296
From: Jason Merrill
Date: Fri, 18 Dec 1992 00:33
13 lines
948 bytes
>>>>> myersn%rwave.roguewave@rwave.UUCP (Nathan Myers) writes:

> Can anybody tell me why gcc's ::new calls __builtin_new(),
> rather than ::operator new() as specified in the ARM?
> This makes it awkward to provide a portable replacement for malloc
> and operator new.

void *operator new() becomes ___builtin_new in the output.  This may seem
strange, but how does it make it more difficult to override the g++
defaults?

--
Jason Merrill					jason@jarthur.claremont.edu
Technical Details
Message-ID: <JASON.92Dec17193336@it.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason
References: jason@jarthur.claremont.edu (Jason Merrill)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: Re: 2.3.2: friend decl breaks member op new
Message-ID: <JASON.92Dec17193336@it.claremont.edu>
Sender: gnulists@ai.mit.edu
Organization: Minimal
References: jason@jarthur.claremont.edu (Jason Merrill)
Distribution: gnu
Date: Fri, 18 Dec 1992 00:33:35 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 14