>>> domoticz 3.8153 Extracting gzip -d -c /home/peko/autobuild/instance-2/dl/domoticz-3.8153.tar.gz | tar --strip-components=1 -C /home/peko/autobuild/instance-2/output/build/domoticz-3.8153 -xf - >>> domoticz 3.8153 Patching Applying 0001-Fix-compilation-with-boost-1.66.patch using patch: patching file webserver/proxyclient.cpp patching file webserver/server.cpp >>> domoticz 3.8153 Configuring (mkdir -p /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/ && cd /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/ && rm -f CMakeCache.txt && PATH="/home/peko/autobuild/instance-2/output/host/bin:/home/peko/autobuild/instance-2/output/host/sbin:/home/peko/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/peko/autobuild/instance-2/output/host/bin/cmake /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/ -DCMAKE_TOOLCHAIN_FILE="/home/peko/autobuild/instance-2/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DUSE_STATIC_BOOST=OFF -DUSE_BUILTIN_LUA=OFF -DUSE_BUILTIN_SQLITE=OFF -DUSE_BUILTIN_MQTT=OFF -DCMAKE_CXX_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " -DUSE_PYTHON=OFF -DCMAKE_INSTALL_PREFIX=/opt/domoticz ) -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /home/peko/autobuild/instance-2/output/host/bin/nios2-linux-gcc -- Check for working C compiler: /home/peko/autobuild/instance-2/output/host/bin/nios2-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /home/peko/autobuild/instance-2/output/host/bin/nios2-linux-g++ -- Check for working CXX compiler: /home/peko/autobuild/instance-2/output/host/bin/nios2-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Failed to get ProjectRevision from git -- Read ProjectRevision from appversion.default -- ########################### -- Compiling Revision #5876 -- ########################### -- Found PkgConfig: /home/peko/autobuild/instance-2/output/host/bin/pkg-config (found version "0.28") -- Checking for one of the modules 'lua5.2>=5.2;lua>=5.2;lua-5.2' -- Found mosquittopp.h at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include -- Found libmosquittopp at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libmosquittopp.so -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for 3 include files sys/types.h, ..., linux/i2c.h -- Looking for 3 include files sys/types.h, ..., linux/i2c.h - found -- Building with I2C support -- Looking for include files sys/types.h, linux/spi/spidev.h -- Looking for include files sys/types.h, linux/spi/spidev.h - found -- Building with SPI support CMake Warning at /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:765 (message): Imported targets not available for Boost version 106600 Call Stack (most recent call first): /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES) /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:482 (find_package) CMake Warning at /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:765 (message): Imported targets not available for Boost version 106600 Call Stack (most recent call first): /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES) /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:482 (find_package) CMake Warning at /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:765 (message): Imported targets not available for Boost version 106600 Call Stack (most recent call first): /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:869 (_Boost_COMPONENT_DEPENDENCIES) /home/peko/autobuild/instance-2/output/host/share/cmake-3.8/Modules/FindBoost.cmake:1472 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:482 (find_package) -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- date_time -- system -- Linking against boost dynamic libraries -- Found ZLIB: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.2.11") -- ZLIB libraries found at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libz.so -- ZLIB includes found at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include -- Found CURL: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so (found version "7.57.0") -- Curl libraries found at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so -- Curl includes found at: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include -- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR) -- ==== LibUSB not found, support for TE923/Voltcraft disabled! -- Found OpenSSL: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "1.0.2n") -- ==== OpenZWave not found, support disabled! -- GPIO is not available -- Not found telldus-core (telldus-core.h), not adding tellstick support CMake Warning (dev) at CMakeLists.txt:229 (GET_DIRECTORY_PROPERTY): Policy CMP0059 is not set: Do not treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:648 (ADD_PRECOMPILED_HEADER) This warning is for project developers. Use -Wno-dev to suppress it. /home/peko/autobuild/instance-2/output/host/bin/nios2-linux-g++ -D_LARGEFILE_SOURCE;-D_LARGEFILE64_SOURCE;-D_FILE_OFFSET_BITS=64;;-Os;;-DNDEBUG;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;-I/home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include;;-DWITH_EXTERNAL_LUA;-DWITH_EXTERNAL_SQLITE;-DHAVE_EXECINFO_H;-DHAVE_LINUX_I2C;-DHAVE_LINUX_SPI;-DWWW_ENABLE_SSL -x c++-header -o /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/stdafx.h.gch/.c++ /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h -- Using static libgcc/libstdc++ -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/peko/autobuild/instance-2/output/build/domoticz-3.8153 >>> domoticz 3.8153 Building PATH="/home/peko/autobuild/instance-2/output/host/bin:/home/peko/autobuild/instance-2/output/host/sbin:/home/peko/host/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j6 -C /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/ make[1]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[2]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' Scanning dependencies of target domoticz_gch make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' Scanning dependencies of target revisiontag make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' [ 1%] Generating stdafx.h.gch/.c++ make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' -- Found Git: /usr/bin/git (found version "1.7.10.4") fatal: Not a git repository: './.git' -- Failed to get ProjectRevision from git, set it to 0 fatal: Not a git repository: './.git' -- Failed to get ProjectHash from git, set it to 0 fatal: Not a git repository: './.git' -- Failed to get ProjectDate from git, set it to 0 fatal: Not a git repository: './.git' -- ProjectDate is 0 and appversion.default exists, copy it make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' [ 1%] Built target revisiontag make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' [ 1%] Built target domoticz_gch make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' Scanning dependencies of target domoticz make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' [ 1%] Building CXX object CMakeFiles/domoticz.dir/main/CmdLine.cpp.o [ 1%] Building CXX object CMakeFiles/domoticz.dir/main/stdafx.cpp.o [ 2%] Building CXX object CMakeFiles/domoticz.dir/main/Camera.cpp.o [ 2%] Building CXX object CMakeFiles/domoticz.dir/main/domoticz.cpp.o [ 3%] Building CXX object CMakeFiles/domoticz.dir/main/EventSystem.cpp.o [ 3%] Building CXX object CMakeFiles/domoticz.dir/main/EventsPythonModule.cpp.o [ 4%] Building CXX object CMakeFiles/domoticz.dir/main/EventsPythonDevice.cpp.o [ 4%] Building CXX object CMakeFiles/domoticz.dir/main/Helper.cpp.o [ 5%] Building CXX object CMakeFiles/domoticz.dir/main/localtime_r.cpp.o In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventsPythonModule.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/EventSystem.cpp:2: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/domoticz.cpp:21: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Camera.cpp:7: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ [ 5%] Building CXX object CMakeFiles/domoticz.dir/main/Logger.cpp.o [ 6%] Building CXX object CMakeFiles/domoticz.dir/main/LuaCommon.cpp.o make[3]: *** [CMakeFiles/domoticz.dir/main/EventsPythonModule.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [CMakeFiles/domoticz.dir/main/domoticz.cpp.o] Error 1 make[3]: *** [CMakeFiles/domoticz.dir/main/Camera.cpp.o] Error 1 In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/Logger.cpp:8: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ make[3]: *** [CMakeFiles/domoticz.dir/main/EventSystem.cpp.o] Error 1 In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:49:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In function 'void boost::asio::detail::promise_invoke_and_set(std::promise&, F&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:63:6: error: invalid use of incomplete type 'class std::promise' p.set_value(); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:6: error: invalid use of incomplete type 'class std::promise' p.set_exception(std::current_exception()); ^ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: error: 'current_exception' is not a member of 'std' p.set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:68:21: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_invoker::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: error: 'current_exception' is not a member of 'std' p_->set_exception(std::current_exception()); ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:193:25: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:437:5: note: 'boost::current_exception' current_exception() ^~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_0::operator()()': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:295:13: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_0::operator()(const boost::system::error_code&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:308:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception( ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:309:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:314:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:324:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex) ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ex_0::operator()(const int&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:328:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_exception(ex); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:332:15: error: invalid use of incomplete type 'class std::promise' this->p_->set_value(); ^~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/packaged_task.hpp:23:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:101, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/opt/ext-toolchain/nios2-buildroot-linux-gnu/include/c++/6.4.0/future:124:11: note: declaration of 'class std::promise' class promise; ^~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_1::operator()(const boost::system::error_code&, Arg&&)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:363:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:378:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: In member function 'void boost::asio::detail::promise_handler_ec_n::operator()(const boost::system::error_code&, Args&& ...)': /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:436:11: error: 'make_exception_ptr' is not a member of 'std' std::make_exception_ptr( ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp: At global scope: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:483:30: error: 'exception_ptr' in namespace 'std' does not name a type void operator()(const std::exception_ptr& ex, ^~~~~~~~~~~~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:532:56: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:544:61: error: template argument 1 is invalid class promise_handler_selector ^ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: error: 'exception_ptr' is not a member of 'std' class promise_handler_selector ^~~ /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:37: note: suggested alternative: In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception_ptr.hpp:9:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread/future.hpp:25, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/thread.hpp:24, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/stdafx.h:57: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:42:5: note: 'boost::exception_ptr' exception_ptr ^~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/use_future.hpp:156:0, from /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio.hpp:131, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPClient.h:3, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/../tcpserver/TCPServer.h:4, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/mainworker.h:11, from /home/peko/autobuild/instance-2/output/build/domoticz-3.8153/main/LuaCommon.cpp:22: /home/peko/autobuild/instance-2/output/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/asio/impl/use_future.hpp:558:64: error: template argument 1 is invalid class promise_handler_selector ^ make[3]: *** [CMakeFiles/domoticz.dir/main/Logger.cpp.o] Error 1 make[3]: *** [CMakeFiles/domoticz.dir/main/LuaCommon.cpp.o] Error 1 make[3]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[2]: *** [CMakeFiles/domoticz.dir/all] Error 2 make[2]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/peko/autobuild/instance-2/output/build/domoticz-3.8153' make: *** [/home/peko/autobuild/instance-2/output/build/domoticz-3.8153/.stamp_built] Error 2 make: Leaving directory `/home/peko/autobuild/instance-2/buildroot'