Closed abakhirkin closed 2 years ago
Are you telling me we have reversed the order of two arguments? :grimacing:
No, I believe ctx
is missing as the first argument to throw_()
. Assuming I understand correctly how THROW_..._CTX
macros should work.
Ah thanks, yes. I wonder how that ever passed :laughing: at least it's an easy fix. I'll probably tackle this one first as time permits. We just missed the 1.79 release window, sadly.
Fixed in develop (along with your other issue) - give it a try and reopen if you still have trouble.
Not all context-related exceptions produce a call to
throw_exception()
hook. This is the case for exceptions reported viaBOOST_WAVE_THROW_NAME_CTX
, and in particular, theillegal_redefinition
warning, when attempting to add to a context a pre-defined macro. Not receiving a callback in response toillegal_redefinition
and possibly other warnings and remarks means we cannot configure context to continue preprocessing when they occur.I tried the following patch and it seems to fix this particular issue.