[gnu.g++.lib.bug] new.h

jjc@relay.eu.net (James Clark) (11/16/89)

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