GCC11 defaults to C++17, which does now allow specifying throw(). Signed-off-by: Rosen Penev <rosenp@gmail.com>