g++ -MMD -MF .mymemory.o.d -fPIC -c mymemory.cc -Wall -g -O3 -Iinclude -I.
mymemory.cc:231:34: error: ISO C++17 does not allow dynamic exception specifications
231 | void * operator new(size_t size) throw(std::bad_alloc)
| ^~~~~
mymemory.cc:243:36: error: ISO C++17 does not allow dynamic exception specifications
243 | void * operator new[](size_t size) throw(std::bad_alloc)
| ^~~~~
With gcc version 14.3.1 20250523 on the latest Fedora.
With
gcc version 14.3.1 20250523on the latest Fedora.