[function] [1.47.0] #4717: Non-const local static variable stored_vtable

I want the fix for the following ticket (regression, I think) included in 1.47. "#4717: Non-const local static variable stored_vtable" https://svn.boost.org/trac/boost/ticket/4717 Here is a quote of a essential part of the fix. - static vtable_type stored_vtable = + static const vtable_type stored_vtable = { { &manager_type::manage }, &invoker_type::invoke }; https://svn.boost.org/trac/boost/attachment/ticket/4717/djw_function_const_v... I did same request for 1.46 and 1.46.1, and got no response. http://lists.boost.org/Archives/boost/2011/03/177769.php http://lists.boost.org/Archives/boost/2011/01/175248.php Please let me know if there is more effective way to push the fix, or if I'm doing something wrong. -- k_satoda

On May 30, 2011, at 8:27 PM, Kazutoshi Satoda wrote:
I want the fix for the following ticket (regression, I think) included in 1.47. "#4717: Non-const local static variable stored_vtable" https://svn.boost.org/trac/boost/ticket/4717
Here is a quote of a essential part of the fix. - static vtable_type stored_vtable = + static const vtable_type stored_vtable = { { &manager_type::manage }, &invoker_type::invoke }; https://svn.boost.org/trac/boost/attachment/ticket/4717/djw_function_const_v...
I've applied the patch to the trunk - please test. If there are no problems, I will merge to release. -- Marshall

Marshall Clow wrote:
On May 30, 2011, at 8:27 PM, Kazutoshi Satoda wrote:
I want the fix for the following ticket (regression, I think) included in 1.47. "#4717: Non-const local static variable stored_vtable" https://svn.boost.org/trac/boost/ticket/4717
Here is a quote of a essential part of the fix. - static vtable_type stored_vtable = + static const vtable_type stored_vtable = { {&manager_type::manage },&invoker_type::invoke }; https://svn.boost.org/trac/boost/attachment/ticket/4717/djw_function_const_v...
I've applied the patch to the trunk - please test. If there are no problems, I will merge to release.
Thank you very much. I ran bjam in libs/function/test at trunk r72316 for gcc-4.3.4/debug (Cygwin) and msvc-9.0express/debug on my Win32 machine, and found no problems. -- k_satoda
participants (2)
-
Kazutoshi Satoda
-
Marshall Clow