dumapp.cpp: In function 'void operator new(std::size_t)':
dumapp.cpp:192:19: error: declaration of 'void operator new(std::size_t) throw (std::bad_alloc)' has a different exception specifier
void * DUMA_CDECL operator new( DUMA_SIZE_T size )
^~~~~~~~
In file included from dumapp.cpp:39:0:
dumapp.h:84:23: note: from previous declaration 'void* operator new(std::size_t)'
void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc);
The following patch fixes the issue:
https://github.com/crosstool-ng/crosstool-ng/blob/master/patches/duma/2_5_15/200-cpp11-new-operator.patch
The path to the patch has been changed to
https://github.com/crosstool-ng/crosstool-ng/blob/master/packages/duma/2_5_15/0002-cpp11-new-operator.patch
and I've attached a copy of the patch here, for posterity
Also, if anyone's compiling in 2019 like me, remember to get the latest Duma source from CSV, which builds more cleanly than the duma_2_5_15 release.