On 27 October 2016 at 14:49, Edward Diener wrote: > Even when I add -std=c++11 to the command line, the same result occurs. Yes, because -std options don't affect the ABI, so the exception type that is declared by the headers is not affected by the -std option. See https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html