1 Apr
2016
1 Apr
'16
4:20 p.m.
AMDG On 04/01/2016 02:11 AM, Andrey Semashev wrote:
In my tests on gcc 6 I'm seeing these warnings which stem from Boost.Function:
../boost/function/function_template.hpp:572:11: warning: placement new constructing an object of type '<snip>' and size '8' in a region of type 'char' and size '1' [-Wplacement-new=]
I'm not familiar with boost::function internals, but the warning looks serious enough to do something about it. I.e. if it's actually benign, it would be nice to silence it to avoid causing panic.
The 'char' in question is the first element of an array of sufficient size. In Christ, Steven Watanabe