I have the following error when i'm trying to build the current master:
[ 6%] Building CXX object src/CMakeFiles/ppconsul.dir/agent.cpp.o
[ 9%] Building CXX object src/CMakeFiles/ppconsul.dir/catalog.cpp.o
[ 11%] Building CXX object src/CMakeFiles/ppconsul.dir/consul.cpp.o
ppconsul/src/consul.cpp:91:13: error: function 'ppconsul::Consul& ppconsul::Consul::operator=(ppconsul::Consul&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ''
Consul& Consul::operator= (Consul &&op) PPCONSUL_NOEXCEPT = default;
^~
make[2]: [src/CMakeFiles/ppconsul.dir/build.make:89: src/CMakeFiles/ppconsul.dir/consul.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:146: src/CMakeFiles/ppconsul.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
Boost 1.73
I have the following error when i'm trying to build the current master:
[ 6%] Building CXX object src/CMakeFiles/ppconsul.dir/agent.cpp.o
[ 9%] Building CXX object src/CMakeFiles/ppconsul.dir/catalog.cpp.o
[ 11%] Building CXX object src/CMakeFiles/ppconsul.dir/consul.cpp.o
ppconsul/src/consul.cpp:91:13: error: function 'ppconsul::Consul& ppconsul::Consul::operator=(ppconsul::Consul&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification '' Consul& Consul::operator= (Consul &&op) PPCONSUL_NOEXCEPT = default; ^
~make[2]: [src/CMakeFiles/ppconsul.dir/build.make:89: src/CMakeFiles/ppconsul.dir/consul.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:146: src/CMakeFiles/ppconsul.dir/all] Error 2 make: *** [Makefile:141: all] Error 2gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) Boost 1.73