Closed urnathan closed 1 year ago
I see that clone_current_exception.hpp uses BOOST_NO_EXCEPTIONS without #include <boost/config.hpp>, which is a bug, but I think there aren't any others. I'll fix this one, but if there is another case where such macro is used without the include, please let me know.
Some of the exception headers examine boost control macros without first including config.hpp. Thus, they are not self-contained, and that creates difficulty building them as clang modules or c++ header units (specifically they think the macros are undefined, which might mismatch the rest of the build, leading to conflicts). Here are the ones I found problematic (I think there are others, particularly WRT BOOST_EXCEPTION_ENABLE_WARNINGS, but that doesn't bite in this case.