2 Feb
2021
2 Feb
'21
5:15 p.m.
Andrey Semashev wrote:
Am I correct that BOOST_PROGRAM_OPTIONS_DECL is defined to BOOST_SYMBOL_IMPORT,
Yes: https://github.com/boostorg/program_options/blob/0414abe3f4cf3bb617b80f2e3fb...
which expands to nothing, and it breaks when Boost.ProgramOptions library throws an exception marked with it?
Yes: https://github.com/boostorg/program_options/blob/0414abe3f4cf3bb617b80f2e3fb... I haven't verified this failure yet, but Alexander reports that this is what happens. (In this specific case, the exceptions are entirely header-only, so they should have been just marked as VISIBLE. It's not clear what happens when they have compiled parts, e.g. what().)