--- rxvt-unicode/src/rxvtutil.h 2012/05/25 18:49:59 1.57 +++ rxvt-unicode/src/rxvtutil.h 2014/10/23 22:39:40 1.59 @@ -7,6 +7,8 @@ #include "ecb.h" #include "estl.h" +#include "emman.h" + // increases code size unless -fno-enforce-eh-specs #if __GNUC__ # define NOTHROW @@ -88,14 +90,14 @@ #endif inline void * -operator new (size_t size) +operator new (size_t size) throw (std::bad_alloc) { // TODO: use rxvt_malloc return malloc (size); } inline void -operator delete (void *p) +operator delete (void *p) throw () { free (p); }