From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2019-10-25 09:38:08


On Thu, 24 Oct 2019 at 17:47, Robert Ramey via Boost
<boost_at_[hidden]> wrote:
>
> I want to detect whether or not the -no_exception compile time flag has
> been used on gcc/clang. Will BOOST_NO_EXCEPTIONS do this? If not is
> there something I can use?

A look at the code or a simple Google search allows to answer these questions.
Boost.Config will define BOOST_NO_EXCEPTIONS if it is not already
defined and it detects that the compiler has exceptions disabled.