Closed viboes closed 6 years ago
Ok, can you please tell me what the warning says, with which compiler?
I got it at work with a TI.
When BOOST_ASSERT_MSG(!"boost::container out_of_range thrown", str);
is nothing, the variable str
is not used.
I can try to get the exact message and the exact compiler version, but I don't think this is specific to this compiler.
Let's see if commit:
https://github.com/boostorg/container/commit/520dd7cbddfa26245edea719d52161e14e41fa95
fixes the problem.
Trying to refine it further in commit:
https://github.com/boostorg/container/commit/407aabd77bd5e1080394e5519b1061f27f2b7130
Closing it as fixed.
Gracias
There are some functions here that would need to mask this warning
https://github.com/boostorg/container/blob/6a9e46ed6e5e8b1e24c5d9be7b2d6e52c9485fe0/include/boost/container/throw_exception.hpp#L60
Please could you silent these warnings?