Quote:
Originally Posted by wrCisco
A heads up on the more recent version of the Sigil fork for the gumbo query integration ( https://github.com/kevinhendricks/Sigil): I had to replace "#include <exception>" with "#include <stdexcept>" in Query/CParser.cpp in order to compile it on Linux.
|
I looked into this and #include <exception> should work on Linux as it is used in the sigil_exceptions.cpp code that works across all platforms. So I googled and it seems some platforms that use std::runtime exceptions need to include <stdexcept> as well.
And on all platforms that I looked at <stdexcept> also included <exception> to get its base class std::exception.
So I have just now pushed code to do the following for all platforms:
#include <exception>
#include <std::except>
and this seems to work fine on macOS and should hopefully work fine on Linux as well.
Thanks!