The way I make it work is -fno-exceptions (or, alternatively, loading up a simile to ned14's error system).
One of the highlights of the article is that it does do explain how the C++ system allows you to throw anything, even with a meme for the occasion.