See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65899 Easy fix: #include <sstream> before #define in BoostTypes.hpp