#838137 critterding: FTBFS in experimental: be_command_system.cpp:13:94: error: '_1' was not declared in this scope

#838137#5
Date:
2016-09-17 16:01:50 UTC
From:
To:
Hi,

critterding/experimental FTBFS, probably due to the default compiler now being GCC 6:

[ 34%] Building CXX object src/common/CMakeFiles/common.dir/be_command_system.cpp.o
cd /build/critterding-1.0-beta14+dfsg/obj-x86_64-linux-gnu/src/common && /usr/bin/c++   -DBOOST_FILESYSTEM_VERSION=3 -DGLEW_STATIC -DHAVE_OPENMP=1 -DQT_CORE_LIB -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_
OPENGL_LIB -DUNIX -I/usr/include/bullet -I/usr/include/SDL -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtDeclarative -isystem /usr/include/qt4/QtGui -isystem /usr/include/
qt4/QtCore -I/build/critterding-1.0-beta14+dfsg -I/usr/include/freetype2 -I/build/critterding-1.0-beta14+dfsg/. -I/build/critterding-1.0-beta14+dfsg/src/. -I/build/critterding-1.0-beta14+dfsg/src/common/.  -g -O2 -
fdebug-prefix-map=/build/critterding-1.0-beta14+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -std=c++0x -Wl,-Bstatic -fopenmp -o CMakeFiles/common.dir/be_comma
nd_system.cpp.o -c /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp

/build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp: In constructor 'BeCommandSystem::BeCommandSystem()':
/build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:13:94: error: '_1' was not declared in this scope
  registerStringCommand("settings_saveprofile", boost::bind(&Settings::saveProfile, settings, _1));
                                                                                              ^~
/build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:13:94: note: suggested alternatives:
In file included from /usr/include/boost/system/error_code.hpp:22:0,
                 from /usr/include/boost/filesystem/path_traits.hpp:23,
                 from /usr/include/boost/filesystem/path.hpp:25,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /build/critterding-1.0-beta14+dfsg/src/./filesystem/be_dir.h:4,
                 from /build/critterding-1.0-beta14+dfsg/src/./utils/settings.h:10,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.h:7,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:1:
/usr/include/c++/6/functional:703:34: note:   'std::placeholders::_1'
     extern const _Placeholder<1> _1;
                                  ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:0,
                 from /usr/include/boost/mpl/placeholders.hpp:43,
                 from /usr/include/boost/iterator/iterator_categories.hpp:17,
                 from /usr/include/boost/iterator/iterator_facade.hpp:14,
                 from /usr/include/boost/filesystem/path.hpp:28,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /build/critterding-1.0-beta14+dfsg/src/./filesystem/be_dir.h:4,
                 from /build/critterding-1.0-beta14+dfsg/src/./utils/settings.h:10,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.h:7,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:1:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
 typedef arg<1> _1;
                ^~
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
In file included from /usr/include/boost/bind/bind.hpp:2247:0,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:2:
/usr/include/boost/bind/placeholders.hpp:46:38: note:   'boost::placeholders::_1'
 BOOST_STATIC_CONSTEXPR boost::arg<1> _1;
                                      ^~
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:0,
                 from /usr/include/boost/mpl/placeholders.hpp:43,
                 from /usr/include/boost/iterator/iterator_categories.hpp:17,
                 from /usr/include/boost/iterator/iterator_facade.hpp:14,
                 from /usr/include/boost/filesystem/path.hpp:28,
                 from /usr/include/boost/filesystem.hpp:16,
                 from /build/critterding-1.0-beta14+dfsg/src/./filesystem/be_dir.h:4,
                 from /build/critterding-1.0-beta14+dfsg/src/./utils/settings.h:10,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.h:7,
                 from /build/critterding-1.0-beta14+dfsg/src/common/be_command_system.cpp:1:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note:   'mpl_::_1'
 typedef arg<1> _1;
                ^~
src/common/CMakeFiles/common.dir/build.make:257: recipe for target 'src/common/CMakeFiles/common.dir/be_command_system.cpp.o' failed
make[3]: *** [src/common/CMakeFiles/common.dir/be_command_system.cpp.o] Error 1


Andreas

#838137#12
Date:
2021-07-31 07:13:23 UTC
From:
To:
私に戻ってください。
Please get back to me.