Article View: gnu.g++.lib.bug
Article #184new.h
From: James Clark
Date: Thu, 16 Nov 1989 12:46
Date: Thu, 16 Nov 1989 12:46
19 lines
693 bytes
693 bytes
I think there's a typo in the libg++ 1.36.1 new.h.
#define NEW(where) NEW { where }
should I think be
#define NEW(where) new { where }
For compatibility with cfront, it might be a good idea to add this to new.h:
#include <stddef.h>
inline void *operator new(size_t, void *p)
{
return p;
}
James Clark
jjc@jclark.uucp
Technical Details
Message-ID:
<8911161246.AA20756@jclark.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!relay.eu.net!jclark!jjcShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!relay.eu.net!jclark!jjc From: jclark!jjc@relay.eu.net (James Clark) Newsgroups: gnu.g++.lib.bug Subject: new.h Message-ID: <8911161246.AA20756@jclark.uucp> Date: 16 Nov 89 12:46:07 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19