將boost更新到1.53時, 發現luabind死活編譯不過, 報錯如下
error: missing binary operator before token "("
根據老外的描述, boost中的BOOST_PP_ITERATION_FLAGS從1.49版本后發生了一些變化.
在git找到一個patch, 鏈接在此
以下簡單描述
修改call_function.hpp, call_member.hpp及wrapper_base.hpp
去掉#elif BOOST_PP_ITERATION_FLAGS() == 1
更換為
#else
#if BOOST_PP_ITERATION_FLAGS() == 1
然后在源碼底部加一個#endif即可