id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8772,boost.variant broken in combination with g++ 4.6.x series and C++0x,anonymous,Antony Polukhin,"We observed compilation errors in case the main header of boost.signals2 has been included. Example code : {{{ #include int main() { return 0; } }}} The following call fails with errors {{{ g++-4.6.3 --std=c++0x main.cpp -I /opt/boost_1_54_0/ }}} The error message points to some sections in boost.variant recently modified for boost 1.54.0 (I attached the rather lengthly error message). In case c++0x is not activated or a 4.7/4.8-series version is used, the compilation succeeds. We simply excluded the problematic section in file boost/variant/variant.hpp which resolved our compilation problem. I saw that the gcc 4.6 series is not in the list of compilers tested with C++11 enabled but for us this section in variant is the first that fails in case the preprocessor macro BOOST_NO_CXX11_RVALUE_REFERENCES is not set. ",Bugs,closed,Boost 1.55.0,variant,Boost 1.54.0,Regression,fixed,signals2 gcc 4.6.x,antoshkka@…