If I compile the examples with the c++17 standard which seems to be required, at least with g++, I get warnings about deprecated uncaught_exception in line 461 and 552 which should be replaced with the pluralform uncaught_exceptions . If I do this the code compiles without errors.