Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_936_2_0_0/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/tmp/c3ipr/pr_936_2_0_0/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_936_2_0_0/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 7.712890625 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['CMakeLists.txt', 'patches/*'] [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK Exporting package recipe paho-mqtt-cpp/1.0.1 exports: File 'conandata.yml' found. Exporting it... paho-mqtt-cpp/1.0.1 exports: Copied 1 '.yml' file: conandata.yml paho-mqtt-cpp/1.0.1 exports_sources: Copied 1 '.txt' file: CMakeLists.txt paho-mqtt-cpp/1.0.1 exports_sources: Copied 3 '.patch' files: 0003-fix-paho-mqtt-cpp-config-cmake.patch, 0002-fix-cmake-find-paho-mqtt-c-static.patch, 0001-fix-cmake-module-path.patch [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'1.0.1': {'sha256': 'e97386d159b811e534b98d21e3f6881ab2b43678ec026da7525d5c21ebc292ff', 'url': 'https://github.com/eclipse/paho.mqtt.cpp/archive/v1.0.1.tar.gz'}}, 'patches': {'1.0.1': [{'patch_file': 'patches/0001-fix-cmake-module-path.patch', 'base_path': 'source_subfolder'}, {'patch_file': 'patches/0002-fix-cmake-find-paho-mqtt-c-static.patch', 'base_path': 'source_subfolder'}, {'patch_file': 'patches/0003-fix-paho-mqtt-cpp-config-cmake.patch', 'base_path': 'source_subfolder'}]}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: patches: 1.0.1: - base_path: source_subfolder patch_file: patches/0001-fix-cmake-module-path.patch - base_path: source_subfolder patch_file: patches/0002-fix-cmake-find-paho-mqtt-c-static.patch - base_path: source_subfolder patch_file: patches/0003-fix-paho-mqtt-cpp-config-cmake.patch sources: 1.0.1: sha256: e97386d159b811e534b98d21e3f6881ab2b43678ec026da7525d5c21ebc292ff url: https://github.com/eclipse/paho.mqtt.cpp/archive/v1.0.1.tar.gz [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK paho-mqtt-cpp/1.0.1: A new conanfile.py version was exported paho-mqtt-cpp/1.0.1: Folder: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/export paho-mqtt-cpp/1.0.1: Using the exported files summary hash as the recipe revision: 7b28710b095ba20f1bc426280f184b97 paho-mqtt-cpp/1.0.1: Exported revision: 7b28710b095ba20f1bc426280f184b97 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=5 os=Linux os_build=Linux [options] paho-mqtt-cpp:shared=True [build_requires] [env] paho-mqtt-c/1.3.0: Not found in local cache, looking in remotes... paho-mqtt-c/1.3.0: Trying with 'c3i_PR-936_4f5742959f87d0fc3f65ea6e88ffa5d8f23d50c9'... paho-mqtt-c/1.3.0: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz paho-mqtt-c/1.3.0: Downloaded recipe revision 9708e3f7dc2d2d743536ea57d8a79ecf paho-mqtt-cpp/1.0.1: Forced build from source paho-mqtt-cpp/1.0.1 (test package): Installing package Requirements paho-mqtt-c/1.3.0 from 'central' - Downloaded paho-mqtt-cpp/1.0.1 from local cache - Cache Packages paho-mqtt-c/1.3.0:f3386a01f0256e25ad7dbda59836e4daefb632b1 - Download paho-mqtt-cpp/1.0.1:ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9 - Build paho-mqtt-c/1.3.0: Retrieving package f3386a01f0256e25ad7dbda59836e4daefb632b1 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz paho-mqtt-c/1.3.0: Package installed f3386a01f0256e25ad7dbda59836e4daefb632b1 paho-mqtt-c/1.3.0: Downloaded package revision 65b6b7e691d508836c89dd226079db24 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK paho-mqtt-cpp/1.0.1: Configuring sources in /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/source [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK paho-mqtt-cpp/1.0.1: Copying sources to build folder paho-mqtt-cpp/1.0.1: Building your package in /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/build/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9 paho-mqtt-cpp/1.0.1: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK paho-mqtt-cpp/1.0.1: Calling build() -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/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: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++ -- Found PahoMqttC: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-c/1.3.0/_/_/package/f3386a01f0256e25ad7dbda59836e4daefb632b1/lib/libpaho-mqtt3a.so -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/build/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9 Scanning dependencies of target paho-cpp-objs [ 7%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/async_client.cpp.o [ 15%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/client.cpp.o [ 23%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/disconnect_options.cpp.o [ 30%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/iclient_persistence.cpp.o [ 38%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/message.cpp.o [ 46%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/response_options.cpp.o [ 53%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/ssl_options.cpp.o [ 61%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/string_collection.cpp.o [ 69%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/token.cpp.o [ 76%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/topic.cpp.o [ 84%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/connect_options.cpp.o [ 92%] Building CXX object source_subfolder/src/CMakeFiles/paho-cpp-objs.dir/will_options.cpp.o [ 92%] Built target paho-cpp-objs Scanning dependencies of target paho-mqttpp3 [100%] Linking CXX shared library ../../lib/libpaho-mqttpp3.so [100%] Built target paho-mqttpp3 paho-mqtt-cpp/1.0.1: Package 'ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9' built paho-mqtt-cpp/1.0.1: Build folder /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/build/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9 paho-mqtt-cpp/1.0.1: Generated conaninfo.txt paho-mqtt-cpp/1.0.1: Generated conanbuildinfo.txt paho-mqtt-cpp/1.0.1: Generating the package paho-mqtt-cpp/1.0.1: Package folder /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9 paho-mqtt-cpp/1.0.1: Calling package() [ 92%] Built target paho-cpp-objs [100%] Built target paho-mqttpp3 Install the project... -- Install configuration: "Release" -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/libpaho-mqttpp3.so.1.0.1 -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/libpaho-mqttpp3.so.1 -- Set runtime path of "/tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/libpaho-mqttpp3.so.1.0.1" to "" -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/libpaho-mqttpp3.so -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iaction_listener.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/response_options.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/cmake/PahoMqttCpp/PahoMqttCppTargets.cmake -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/cmake/PahoMqttCpp/PahoMqttCppTargets-release.cmake -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/cmake/PahoMqttCpp/PahoMqttCppConfig.cmake -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/cmake/PahoMqttCpp/FindPahoMqttC.cmake -- Installing: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/lib/cmake/PahoMqttCpp/PahoMqttCppConfigVersion.cmake [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK paho-mqtt-cpp/1.0.1 package(): Packaged 1 '.so' file: libpaho-mqttpp3.so paho-mqtt-cpp/1.0.1 package(): Packaged 2 '.1' files: libpaho-mqttpp3.so.1, libpaho-mqttpp3.so.1.0.1 paho-mqtt-cpp/1.0.1 package(): Packaged 21 '.h' files paho-mqtt-cpp/1.0.1 package(): Packaged 1 '.html' file: notice.html paho-mqtt-cpp/1.0.1 package(): Packaged 2 files: epl-v10, edl-v10 paho-mqtt-cpp/1.0.1: Package 'ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9' created paho-mqtt-cpp/1.0.1: Created package revision 35afd92f3a52bf527c0b0018e6ca97d5 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK paho-mqtt-cpp/1.0.1 (test package): Generator cmake created conanbuildinfo.cmake paho-mqtt-cpp/1.0.1 (test package): Generator txt created conanbuildinfo.txt paho-mqtt-cpp/1.0.1 (test package): Generated conaninfo.txt paho-mqtt-cpp/1.0.1 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK paho-mqtt-cpp/1.0.1 (test package): Running build() -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/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: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a /usr/bin/cmake -S/tmp/c3ipr/pr_936_2_0_0/test_package -B/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a/CMakeFiles /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' /usr/bin/make -f CMakeFiles/test_package.dir/build.make CMakeFiles/test_package.dir/depend make[2]: Entering directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' cd /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/c3ipr/pr_936_2_0_0/test_package /tmp/c3ipr/pr_936_2_0_0/test_package /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a /tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a/CMakeFiles/test_package.dir/DependInfo.cmake --color= Scanning dependencies of target test_package make[2]: Leaving directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' /usr/bin/make -f CMakeFiles/test_package.dir/build.make CMakeFiles/test_package.dir/build make[2]: Entering directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o /usr/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=0 -I/tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include -I/tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-c/1.3.0/_/_/package/f3386a01f0256e25ad7dbda59836e4daefb632b1/include -m64 -O3 -DNDEBUG -o CMakeFiles/test_package.dir/test_package.cpp.o -c /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp In file included from /usr/include/c++/5/chrono:35:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:29, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:28, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:28:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:37:7: error: expected nested-name-specifier before ‘byte’ using byte = uint8_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:40:7: error: expected nested-name-specifier before ‘string’ using string = std::string; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:42:7: error: expected nested-name-specifier before ‘binary’ using binary = std::string; //std::basic_string; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:45:7: error: expected nested-name-specifier before ‘string_ptr’ using string_ptr = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:47:7: error: expected nested-name-specifier before ‘binary_ptr’ using binary_ptr = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:59:6: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::seconds to_seconds(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:70:34: error: ‘chrono’ in namespace ‘std’ does not name a type long to_seconds_count(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:70:50: error: expected unqualified-id before ‘<’ token long to_seconds_count(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:70:50: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:70:50: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:81:6: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::milliseconds to_milliseconds(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:92:39: error: ‘chrono’ in namespace ‘std’ does not name a type long to_milliseconds_count(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:92:55: error: expected unqualified-id before ‘<’ token long to_milliseconds_count(const std::chrono::duration& dur) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:92:55: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/types.h:92:55: error: expected initializer before ‘<’ token In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:28:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iaction_listener.h:52:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iaction_listener.h:54:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iaction_listener.h:73:7: error: expected nested-name-specifier before ‘iaction_listener_ptr’ using iaction_listener_ptr = iaction_listener::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iaction_listener.h:76:7: error: expected nested-name-specifier before ‘const_iaction_listener_ptr’ using const_iaction_listener_ptr = iaction_listener::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:48:2: error: ‘string’ does not name a type string msg_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:62:28: error: ‘string’ does not name a type exception(int code, const string& msg) : ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:68:2: error: ‘string’ does not name a type string get_message() const { return msg_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:77:2: error: ‘string’ does not name a type string to_string() const { return string(what()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h: In constructor ‘mqtt::exception::exception(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:56:39: error: ‘to_string’ is not a member of ‘std’ : std::runtime_error("MQTT error ["+std::to_string(code)+"]"), code_(code) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h: In constructor ‘mqtt::exception::exception(int, const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:63:38: error: ‘to_string’ is not a member of ‘std’ std::runtime_error("MQTT error ["+std::to_string(code)+"]: "+msg), ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:64:19: error: class ‘mqtt::exception’ does not have any field named ‘msg_’ code_(code), msg_(msg) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:102:39: error: ‘string’ does not name a type explicit persistence_exception(const string& msg) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:109:40: error: ‘string’ does not name a type persistence_exception(int code, const string& msg) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:132:37: error: ‘string’ does not name a type security_exception(int code, const string& msg) : exception(code, msg) {} ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:31:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:66:8: error: expected nested-name-specifier before ‘value_type’ using value_type = T; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:71:8: error: expected nested-name-specifier before ‘blob’ using blob = std::basic_string; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:76:8: error: expected nested-name-specifier before ‘pointer_type’ using pointer_type = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:80:2: error: ‘pointer_type’ does not name a type pointer_type data_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:86:16: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 buffer_ref() =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:91:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 buffer_ref(const buffer_ref& buf) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:96:23: error: expected ‘,’ or ‘...’ before ‘&&’ token buffer_ref(buffer_ref&& buf) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:96:32: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 buffer_ref(buffer_ref&& buf) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:96:32: error: invalid constructor; you probably meant ‘mqtt::buffer_ref (const mqtt::buffer_ref&)’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:19: error: ‘blob’ does not name a type buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:107:17: error: expected ‘)’ before ‘&&’ token buffer_ref(blob&& b) : data_{std::make_shared(std::move(b))} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:107:69: error: expected unqualified-id before ‘{’ token buffer_ref(blob&& b) : data_{std::make_shared(std::move(b))} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:115:19: error: ‘pointer_type’ does not name a type buffer_ref(const pointer_type& p) : data_(p) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:115:2: error: ‘mqtt::buffer_ref::buffer_ref(const int&)’ cannot be overloaded buffer_ref(const pointer_type& p) : data_(p) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:2: error: with ‘mqtt::buffer_ref::buffer_ref(const int&)’ buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:123:25: error: expected ‘)’ before ‘&&’ token buffer_ref(pointer_type&& p) : data_(std::move(p)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:129:19: error: ‘value_type’ does not name a type buffer_ref(const value_type* buf, size_t n) : data_{std::make_shared(buf,n)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:145:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 buffer_ref& operator=(const buffer_ref& rhs) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:151:34: error: expected ‘,’ or ‘...’ before ‘&&’ token buffer_ref& operator=(buffer_ref&& rhs) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:151:43: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 buffer_ref& operator=(buffer_ref&& rhs) =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:160:30: error: ‘blob’ does not name a type buffer_ref& operator=(const blob& b) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:172:24: error: declaration of ‘operator=’ as non-function buffer_ref& operator=(blob&& b) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:172:22: error: expected ‘;’ at end of member declaration buffer_ref& operator=(blob&& b) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:172:28: error: expected ‘)’ before ‘&&’ token buffer_ref& operator=(blob&& b) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:212:27: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 explicit operator bool() const { return bool(data_); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:231:8: error: ‘value_type’ does not name a type const value_type* data() const { return data_->data(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:246:8: error: ‘blob’ does not name a type const blob& str() const { return *data_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:251:8: error: ‘blob’ does not name a type const blob& to_string() const { return str(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:262:8: error: ‘pointer_type’ does not name a type const pointer_type& ptr() const { return data_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:268:8: error: ‘value_type’ does not name a type const value_type& operator[](size_t i) const { return (*data_)[i]; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In constructor ‘mqtt::buffer_ref::buffer_ref(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:30: error: class ‘mqtt::buffer_ref’ does not have any field named ‘data_’ buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:35: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:36: error: ‘make_shared’ is not a member of ‘std’ buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:101:53: error: ‘blob’ was not declared in this scope buffer_ref(const blob& b) : data_{std::make_shared(b)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In constructor ‘mqtt::buffer_ref::buffer_ref(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:115:38: error: class ‘mqtt::buffer_ref’ does not have any field named ‘data_’ buffer_ref(const pointer_type& p) : data_(p) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In constructor ‘mqtt::buffer_ref::buffer_ref(const int*, size_t)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:129:48: error: class ‘mqtt::buffer_ref’ does not have any field named ‘data_’ buffer_ref(const value_type* buf, size_t n) : data_{std::make_shared(buf,n)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:129:53: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 buffer_ref(const value_type* buf, size_t n) : data_{std::make_shared(buf,n)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:129:54: error: ‘make_shared’ is not a member of ‘std’ buffer_ref(const value_type* buf, size_t n) : data_{std::make_shared(buf,n)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:129:71: error: ‘blob’ was not declared in this scope buffer_ref(const value_type* buf, size_t n) : data_{std::make_shared(buf,n)} {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In constructor ‘mqtt::buffer_ref::buffer_ref(const char*)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:135:66: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] buffer_ref(const char* buf) : buffer_ref(reinterpret_cast(buf), ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:135:66: error: expected ‘>’ before ‘value_type’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:135:66: error: expected ‘(’ before ‘value_type’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:135:66: error: ‘value_type’ was not declared in this scope /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:135:77: error: expected primary-expression before ‘>’ token buffer_ref(const char* buf) : buffer_ref(reinterpret_cast(buf), ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:138:2: error: expected ‘{’ at end of input } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘mqtt::buffer_ref& mqtt::buffer_ref::operator=(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:161:3: error: ‘data_’ was not declared in this scope data_.reset(new blob(b)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:161:19: error: expected type-specifier before ‘blob’ data_.reset(new blob(b)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘mqtt::buffer_ref& mqtt::buffer_ref::operator=(const char*)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:182:90: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] static_assert(sizeof(char) == sizeof(T), "can only use C arr with char or byte buffers"); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:182:90: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:183:3: error: ‘data_’ was not declared in this scope data_.reset(new blob(reinterpret_cast(cstr), strlen(cstr))); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:183:19: error: expected type-specifier before ‘blob’ data_.reset(new blob(reinterpret_cast(cstr), strlen(cstr))); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘mqtt::buffer_ref& mqtt::buffer_ref::operator=(const mqtt::buffer_ref&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:197:91: error: there are no arguments to ‘static_assert’ that depend on a template parameter, so a declaration of ‘static_assert’ must be available [-fpermissive] static_assert(sizeof(OT) == sizeof(T), "Can only assign buffers if values the same size"); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:198:3: error: ‘data_’ was not declared in this scope data_.reset(new blob(reinterpret_cast(rhs.data()), rhs.size())); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:198:19: error: expected type-specifier before ‘blob’ data_.reset(new blob(reinterpret_cast(rhs.data()), rhs.size())); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘void mqtt::buffer_ref::reset()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:204:17: error: ‘data_’ was not declared in this scope void reset() { data_.reset(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘mqtt::buffer_ref::operator bool() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:212:47: error: ‘data_’ was not declared in this scope explicit operator bool() const { return bool(data_); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘bool mqtt::buffer_ref::is_null() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:220:33: error: ‘data_’ was not declared in this scope bool is_null() const { return !data_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘bool mqtt::buffer_ref::empty() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:226:31: error: ‘data_’ was not declared in this scope bool empty() const { return !data_ || data_->empty(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘size_t mqtt::buffer_ref::size() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:236:31: error: ‘data_’ was not declared in this scope size_t size() const { return data_->size(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘size_t mqtt::buffer_ref::length() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:241:33: error: ‘data_’ was not declared in this scope size_t length() const { return data_->length(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: In member function ‘const char* mqtt::buffer_ref::c_str() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:257:37: error: ‘data_’ was not declared in this scope const char* c_str() const { return data_->c_str(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:290:7: error: expected nested-name-specifier before ‘string_ref’ using string_ref = buffer_ref; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_ref.h:298:7: error: expected nested-name-specifier before ‘binary_ref’ using binary_ref = buffer_ref; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:32:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:43:8: error: expected nested-name-specifier before ‘collection_type’ using collection_type = std::vector; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:45:8: error: expected nested-name-specifier before ‘c_arr_type’ using c_arr_type = std::vector; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:50:2: error: ‘collection_type’ does not name a type collection_type coll_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:58:2: error: ‘c_arr_type’ does not name a type c_arr_type cArr_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:68:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:70:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:75:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 string_collection() =default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:80:26: error: ‘string’ does not name a type string_collection(const string& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:85:26: error: expected ‘)’ before ‘&&’ token string_collection(string&& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:90:26: error: ‘collection_type’ does not name a type string_collection(const collection_type& vec); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:90:2: error: ‘mqtt::string_collection::string_collection(const int&)’ cannot be overloaded string_collection(const collection_type& vec); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:80:2: error: with ‘mqtt::string_collection::string_collection(const int&)’ string_collection(const string& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:95:35: error: expected ‘)’ before ‘&&’ token string_collection(collection_type&& vec); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:105:37: error: expected ‘,’ or ‘...’ before ‘&&’ token string_collection(string_collection&& coll) = default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:105:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 string_collection(string_collection&& coll) = default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:105:48: error: invalid constructor; you probably meant ‘mqtt::string_collection (const mqtt::string_collection&)’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:110:41: error: expected ‘)’ before ‘<’ token string_collection(std::initializer_list sl); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:116:41: error: expected ‘)’ before ‘<’ token string_collection(std::initializer_list sl); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:121:9: error: ‘ptr_t’ does not name a type static ptr_t create(const string& str) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:130:9: error: ‘ptr_t’ does not name a type static ptr_t create(string&& str) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:138:9: error: ‘ptr_t’ does not name a type static ptr_t create(const collection_type& vec) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:147:9: error: ‘ptr_t’ does not name a type static ptr_t create(collection_type&& vec) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:156:9: error: ‘ptr_t’ does not name a type static ptr_t create(std::initializer_list sl) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:165:9: error: ‘ptr_t’ does not name a type static ptr_t create(std::initializer_list sl) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:181:48: error: expected ‘,’ or ‘...’ before ‘&&’ token string_collection& operator=(string_collection&& coll) = default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:181:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 string_collection& operator=(string_collection&& coll) = default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:196:23: error: ‘string’ does not name a type void push_back(const string& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:201:17: error: ‘string’ has not been declared void push_back(string&& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:201:23: error: expected ‘,’ or ‘...’ before ‘&&’ token void push_back(string&& str); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:211:8: error: ‘string’ does not name a type const string& operator[](size_t i) const { return coll_[i]; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:181:21: error: defaulted declaration ‘mqtt::string_collection& mqtt::string_collection::operator=(mqtt::string_collection)’ string_collection& operator=(string_collection&& coll) = default; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:181:21: error: does not match expected signature ‘mqtt::string_collection& mqtt::string_collection::operator=(mqtt::string_collection&)’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h: In member function ‘bool mqtt::string_collection::empty() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:186:30: error: ‘coll_’ was not declared in this scope bool empty() const { return coll_.empty(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h: In member function ‘size_t mqtt::string_collection::size() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:191:31: error: ‘coll_’ was not declared in this scope size_t size() const { return coll_.size(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h: In member function ‘char* const* mqtt::string_collection::c_arr() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:224:54: error: ‘cArr_’ was not declared in this scope char* const* c_arr() const { return (char* const *) cArr_.data(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:231:7: error: expected nested-name-specifier before ‘string_collection_ptr’ using string_collection_ptr = string_collection::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/string_collection.h:234:7: error: expected nested-name-specifier before ‘const_string_collection_ptr’ using const_string_collection_ptr = string_collection::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:52:8: error: expected nested-name-specifier before ‘guard’ using guard = std::lock_guard; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:54:8: error: expected nested-name-specifier before ‘unique_lock’ using unique_lock = std::unique_lock; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:57:15: error: ‘mutex’ in namespace ‘std’ does not name a type mutable std::mutex lock_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:59:7: error: ‘condition_variable’ in namespace ‘std’ does not name a type std::condition_variable cond_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:66:2: error: ‘const_string_collection_ptr’ does not name a type const_string_collection_ptr topics_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:80:2: error: ‘string’ does not name a type string errMsg_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:153:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:155:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:157:8: error: expected nested-name-specifier before ‘weak_ptr_t’ using weak_ptr_t = std::weak_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:178:34: error: ‘string’ does not name a type token(iasync_client& cli, const string& topic); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:188:34: error: ‘string’ does not name a type token(iasync_client& cli, const string& topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:195:28: error: ‘const_string_collection_ptr’ has not been declared token(iasync_client& cli, const_string_collection_ptr topics); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:205:28: error: ‘const_string_collection_ptr’ has not been declared token(iasync_client& cli, const_string_collection_ptr topics, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:212:2: error: ‘mqtt::token::token(mqtt::iasync_client&, MQTTAsync_token)’ cannot be overloaded token(iasync_client& cli, MQTTAsync_token tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:195:2: error: with ‘mqtt::token::token(mqtt::iasync_client&, int)’ token(iasync_client& cli, const_string_collection_ptr topics); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:222:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:233:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, void* userContext, iaction_listener& cb) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:241:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const string& topic) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:253:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const string& topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:262:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const_string_collection_ptr topics) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:274:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const_string_collection_ptr topics, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:306:10: error: ‘const_string_collection_ptr’ does not name a type virtual const_string_collection_ptr get_topics() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:379:27: error: ‘chrono’ in namespace ‘std’ does not name a type bool wait_for(const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:379:43: error: expected unqualified-id before ‘<’ token bool wait_for(const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:379:43: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:379:43: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:394:30: error: ‘chrono’ in namespace ‘std’ does not name a type bool wait_until( const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:394:48: error: expected unqualified-id before ‘<’ token bool wait_until( const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:394:48: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:394:48: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘void mqtt::token::set_message_id(MQTTAsync_token)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:101:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘void mqtt::token::check_rc()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:148:25: error: ‘errMsg_’ was not declared in this scope throw exception(rc_, errMsg_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual mqtt::iaction_listener* mqtt::token::get_action_callback() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:283:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual int mqtt::token::get_message_id() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:297:81: error: ‘static_assert’ was not declared in this scope static_assert(sizeof(tok_) <= sizeof(int), "MQTTAsync_token must fit into int"); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual void* mqtt::token::get_user_context() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:314:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual void mqtt::token::set_action_callback(mqtt::iaction_listener&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:334:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual void mqtt::token::set_user_context(void*)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:343:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual bool mqtt::token::try_wait()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:357:3: error: ‘guard’ was not declared in this scope guard g(lock_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: In member function ‘virtual bool mqtt::token::wait_for(long int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:370:24: error: ‘std::chrono’ has not been declared return wait_for(std::chrono::milliseconds(timeout)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:404:7: error: expected nested-name-specifier before ‘token_ptr’ using token_ptr = token::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:407:7: error: expected nested-name-specifier before ‘const_token_ptr’ using const_token_ptr = token::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:31, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:56:9: error: ‘constexpr’ does not name a type static constexpr int DFLT_QOS = 0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:56:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:58:9: error: ‘constexpr’ does not name a type static constexpr bool DFLT_RETAINED = false; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:58:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:67:2: error: ‘string_ref’ does not name a type string_ref topic_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:69:2: error: ‘binary_ref’ does not name a type binary_ref payload_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:83:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:85:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:101:21: error: expected ‘)’ before ‘topic’ message(string_ref topic, const void* payload, size_t len, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:110:21: error: expected ‘)’ before ‘topic’ message(string_ref topic, const void* payload, size_t len) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:120:21: error: expected ‘)’ before ‘topic’ message(string_ref topic, binary_ref payload, int qos, bool retained); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:127:21: error: expected ‘)’ before ‘topic’ message(string_ref topic, binary_ref payload) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:134:21: error: expected ‘)’ before ‘topic’ message(string_ref topic, const MQTTAsync_message& msg); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:144:17: error: expected ‘,’ or ‘...’ before ‘&&’ token message(message&& other); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:144:25: error: invalid constructor; you probably meant ‘mqtt::message (const mqtt::message&)’ message(message&& other); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:159:9: error: ‘ptr_t’ does not name a type static ptr_t create(string_ref topic, const void* payload, size_t len, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:171:9: error: ‘ptr_t’ does not name a type static ptr_t create(string_ref topic, const void* payload, size_t len) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:183:9: error: ‘ptr_t’ does not name a type static ptr_t create(string_ref topic, binary_ref payload, int qos, bool retained) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:193:9: error: ‘ptr_t’ does not name a type static ptr_t create(string_ref topic, binary_ref payload) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:202:9: error: ‘ptr_t’ does not name a type static ptr_t create(string_ref topic, const MQTTAsync_message& msg) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:216:28: error: expected ‘,’ or ‘...’ before ‘&&’ token message& operator=(message&& rhs); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:221:17: error: ‘string_ref’ has not been declared void set_topic(string_ref topic) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:228:8: error: ‘string_ref’ does not name a type const string_ref& get_topic_ref() const { return topic_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:233:8: error: ‘string’ does not name a type const string& get_topic() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:244:8: error: ‘binary_ref’ does not name a type const binary_ref& get_payload_ref() const { return payload_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:248:8: error: ‘binary’ does not name a type const binary& get_payload() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:255:8: error: ‘string’ does not name a type const string& get_payload_str() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:285:19: error: ‘binary_ref’ has not been declared void set_payload(binary_ref payload); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:312:2: error: ‘string’ does not name a type string to_string() const { return get_payload_str(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h: In member function ‘void mqtt::message::set_topic(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:222:3: error: ‘topic_’ was not declared in this scope topic_ = topic_ ? std::move(topic) : string_ref(string()); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:222:21: error: ‘move’ is not a member of ‘std’ topic_ = topic_ ? std::move(topic) : string_ref(string()); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:222:58: error: ‘string’ was not declared in this scope topic_ = topic_ ? std::move(topic) : string_ref(string()); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:222:58: note: suggested alternative: In file included from /usr/include/c++/5/string:39:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:1: /usr/include/c++/5/bits/stringfwd.h:74:33: note: ‘std::string’ typedef basic_string string; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:31, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:222:59: error: ‘string_ref’ was not declared in this scope topic_ = topic_ ? std::move(topic) : string_ref(string()); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h: In member function ‘void mqtt::message::set_payload(const void*, size_t)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:54: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive] set_payload(binary_ref(static_cast(payload), n)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:44: error: expected ‘>’ before ‘binary_ref’ set_payload(binary_ref(static_cast(payload), n)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:44: error: expected ‘(’ before ‘binary_ref’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:44: error: ‘binary_ref’ has not been declared /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:67: error: expected primary-expression before ‘>’ token set_payload(binary_ref(static_cast(payload), n)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:292:81: error: ‘binary_ref’ was not declared in this scope set_payload(binary_ref(static_cast(payload), n)); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h: In static member function ‘static void mqtt::message::validate_qos(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:320:48: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive] throw exception(MQTTASYNC_BAD_QOS, "Bad QoS"); ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/token.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:29, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/exception.h:62:2: note: initializing argument 2 of ‘mqtt::exception::exception(int, const int&)’ exception(int code, const string& msg) : ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:31, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:325:7: error: expected nested-name-specifier before ‘message_ptr’ using message_ptr = message::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:328:7: error: expected nested-name-specifier before ‘const_message_ptr’ using const_message_ptr = message::const_ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:337:8: error: ‘message_ptr’ does not name a type inline message_ptr make_message(string_ref topic, const void* payload, size_t len) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:350:8: error: ‘message_ptr’ does not name a type inline message_ptr make_message(string_ref topic, const void* payload, size_t len, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:361:8: error: ‘message_ptr’ does not name a type inline message_ptr make_message(string_ref topic, binary_ref payload) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/message.h:372:8: error: ‘message_ptr’ does not name a type inline message_ptr make_message(string_ref topic, binary_ref payload, ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:31:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:44:2: error: ‘const_message_ptr’ does not name a type const_message_ptr msg_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:53:19: error: ‘const_message_ptr’ has not been declared void set_message(const_message_ptr msg) { msg_ = msg; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:57:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:59:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:61:8: error: expected nested-name-specifier before ‘weak_ptr_t’ using weak_ptr_t = std::weak_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:73:37: error: ‘const_message_ptr’ has not been declared delivery_token(iasync_client& cli, const_message_ptr msg) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:85:37: error: ‘const_message_ptr’ has not been declared delivery_token(iasync_client& cli, const_message_ptr msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:92:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:100:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const_message_ptr msg) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:113:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const_message_ptr msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:121:10: error: ‘const_message_ptr’ does not name a type virtual const_message_ptr get_message() const { return msg_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h: In member function ‘void mqtt::delivery_token::set_message(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:53:44: error: ‘msg_’ was not declared in this scope void set_message(const_message_ptr msg) { msg_ = msg; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h: In constructor ‘mqtt::delivery_token::delivery_token(mqtt::iasync_client&, int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:74:20: error: base operand of ‘->’ is not a pointer : token(cli, msg->get_topic()), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:74:36: error: class ‘mqtt::delivery_token’ does not have any field named ‘msg_’ : token(cli, msg->get_topic()), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:74:41: error: ‘move’ is not a member of ‘std’ : token(cli, msg->get_topic()), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h: In constructor ‘mqtt::delivery_token::delivery_token(mqtt::iasync_client&, int, void*, mqtt::iaction_listener&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:87:20: error: base operand of ‘->’ is not a pointer : token(cli, msg->get_topic(), userContext, cb), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:87:53: error: class ‘mqtt::delivery_token’ does not have any field named ‘msg_’ : token(cli, msg->get_topic(), userContext, cb), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:87:58: error: ‘move’ is not a member of ‘std’ : token(cli, msg->get_topic(), userContext, cb), msg_(std::move(msg)) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:125:7: error: expected nested-name-specifier before ‘delivery_token_ptr’ using delivery_token_ptr = delivery_token::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/delivery_token.h:128:7: error: expected nested-name-specifier before ‘const_delivery_token_ptr’ using const_delivery_token_ptr = delivery_token::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:29:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:32, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:44:8: error: expected nested-name-specifier before ‘value_type’ using value_type = T; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:46:8: error: expected nested-name-specifier before ‘size_type’ using size_type = size_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:50:8: error: ‘value_type’ does not name a type const value_type* data_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:52:2: error: ‘size_type’ does not name a type size_type sz_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:60:20: error: ‘value_type’ does not name a type buffer_view(const value_type* data, size_type n) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:60:38: error: ‘size_type’ has not been declared buffer_view(const value_type* data, size_type n) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:67:38: error: ‘value_type’ was not declared in this scope buffer_view(const std::basic_string& str) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:67:48: error: template argument 1 is invalid buffer_view(const std::basic_string& str) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:67:48: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:67:48: error: template argument 3 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:73:8: error: ‘value_type’ does not name a type const value_type* data() const { return data_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:78:2: error: ‘size_type’ does not name a type size_type size() const { return sz_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:83:2: error: ‘size_type’ does not name a type size_type length() const { return sz_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:89:8: error: ‘value_type’ does not name a type const value_type& operator[](size_t i) const { return data_[i]; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:94:20: error: ‘value_type’ was not declared in this scope std::basic_string str() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:94:30: error: template argument 1 is invalid std::basic_string str() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:94:30: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:94:30: error: template argument 3 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:101:2: error: ‘string’ does not name a type string to_string() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h: In constructor ‘mqtt::buffer_view::buffer_view(const int*, int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:61:5: error: class ‘mqtt::buffer_view’ does not have any field named ‘data_’ : data_(data), sz_(n) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:61:18: error: class ‘mqtt::buffer_view’ does not have any field named ‘sz_’ : data_(data), sz_(n) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h: In constructor ‘mqtt::buffer_view::buffer_view(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:68:5: error: class ‘mqtt::buffer_view’ does not have any field named ‘data_’ : data_(str.data()), sz_(str.size()) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:68:15: error: request for member ‘data’ in ‘str’, which is of non-class type ‘const int’ : data_(str.data()), sz_(str.size()) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:68:24: error: class ‘mqtt::buffer_view’ does not have any field named ‘sz_’ : data_(str.data()), sz_(str.size()) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:68:32: error: request for member ‘size’ in ‘str’, which is of non-class type ‘const int’ : data_(str.data()), sz_(str.size()) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h: In member function ‘int mqtt::buffer_view::str() const’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:28: error: ‘value_type’ was not declared in this scope return std::basic_string(data_, sz_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:38: error: template argument 1 is invalid return std::basic_string(data_, sz_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:38: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:38: error: template argument 3 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:40: error: ‘data_’ was not declared in this scope return std::basic_string(data_, sz_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:95:47: error: ‘sz_’ was not declared in this scope return std::basic_string(data_, sz_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:108:7: error: expected nested-name-specifier before ‘string_view’ using string_view = buffer_view; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/buffer_view.h:111:7: error: expected nested-name-specifier before ‘binary_view’ using binary_view = buffer_view; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:32:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:71:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:73:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:86:26: error: ‘string’ does not name a type virtual void open(const string& clientId, const string& serverURI) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:86:50: error: ‘string’ does not name a type virtual void open(const string& clientId, const string& serverURI) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:100:34: error: ‘string’ does not name a type virtual bool contains_key(const string& key) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:111:25: error: ‘string’ does not name a type virtual void put(const string& key, const std::vector& bufs) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:111:56: error: ‘string_view’ was not declared in this scope virtual void put(const string& key, const std::vector& bufs) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:111:67: error: template argument 1 is invalid virtual void put(const string& key, const std::vector& bufs) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:111:67: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:117:10: error: ‘string_view’ does not name a type virtual string_view get(const string& key) const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:122:28: error: ‘string’ does not name a type virtual void remove(const string& key) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:126:7: error: expected nested-name-specifier before ‘iclient_persistence_ptr’ using iclient_persistence_ptr = iclient_persistence::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iclient_persistence.h:129:7: error: expected nested-name-specifier before ‘const_iclient_persistence_ptr’ using const_iclient_persistence_ptr = iclient_persistence::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:36:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:45:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:47:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:61:31: error: ‘string’ does not name a type virtual void connected(const string& cause) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:66:37: error: ‘string’ does not name a type virtual void connection_lost(const string& cause) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:71:31: error: ‘const_message_ptr’ has not been declared virtual void message_arrived(const_message_ptr msg) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:77:33: error: ‘delivery_token_ptr’ has not been declared virtual void delivery_complete(delivery_token_ptr tok) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:81:7: error: expected nested-name-specifier before ‘callback_ptr’ using callback_ptr = callback::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/callback.h:84:7: error: expected nested-name-specifier before ‘const_callback_ptr’ using const_callback_ptr = callback::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:37:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h:66:51: error: spurious ‘>>’, use ‘>’ to terminate a template argument list template > ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h:68:1: error: definition of ‘class mqtt::thread_queue’ inside template parameter list { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h:328:1: error: two or more data types in declaration of ‘type name’ }; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h:328:2: error: expected ‘>’ before ‘;’ token }; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/thread_queue.h:328:2: error: expected unqualified-id before ‘;’ token In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:30:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:33, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:47:2: error: ‘string’ does not name a type string name_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:55:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:57:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:66:34: error: ‘string’ does not name a type topic(iasync_client& cli, const string& name, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:77:9: error: ‘ptr_t’ does not name a type static ptr_t create(iasync_client& cli, const string& name, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:91:8: error: ‘string’ does not name a type const string& get_name() const { return name_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:123:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(const void* payload, size_t n); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:135:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(const void* payload, size_t n, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:144:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(binary_ref payload); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:155:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(binary_ref payload, int qos, bool retained); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:160:2: error: ‘string’ does not name a type string to_string() const { return name_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:67:13: error: ‘DFLT_QOS’ is not a member of ‘mqtt::message’ int qos=message::DFLT_QOS, bool retained=message::DFLT_RETAINED) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:67:46: error: ‘DFLT_RETAINED’ is not a member of ‘mqtt::message’ int qos=message::DFLT_QOS, bool retained=message::DFLT_RETAINED) ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h: In constructor ‘mqtt::topic::topic(mqtt::iasync_client&, const int&, int, bool)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:68:16: error: class ‘mqtt::topic’ does not have any field named ‘name_’ : cli_(cli), name_(name), qos_(qos), retained_(retained) {} ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:164:7: error: expected nested-name-specifier before ‘topic_ptr’ using topic_ptr = topic::ptr_t ; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/topic.h:167:7: error: expected nested-name-specifier before ‘const_topic_ptr’ using const_topic_ptr = topic::const_ptr_t ; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:33:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:33, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:50:9: error: ‘constexpr’ does not name a type static constexpr int DFLT_QOS = 0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:50:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:52:9: error: ‘constexpr’ does not name a type static constexpr bool DFLT_RETAINED = false; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:52:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:60:2: error: ‘string_ref’ does not name a type string_ref topic_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:63:2: error: ‘binary_ref’ does not name a type binary_ref payload_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:81:26: error: ‘string_ref’ does not name a type const char* c_str(const string_ref& sr) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:87:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:89:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:104:26: error: expected ‘)’ before ‘top’ will_options(string_ref top, const void *payload, size_t payload_len, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:126:26: error: expected ‘)’ before ‘top’ will_options(string_ref top, binary_ref payload, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:137:26: error: expected ‘)’ before ‘top’ will_options(string_ref top, const string& payload, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:153:27: error: expected ‘,’ or ‘...’ before ‘&&’ token will_options(will_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:153:33: error: invalid constructor; you probably meant ‘mqtt::will_options (const mqtt::will_options&)’ will_options(will_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:163:38: error: expected ‘,’ or ‘...’ before ‘&&’ token will_options& operator=(will_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:168:2: error: ‘string’ does not name a type string get_topic() const { return topic_ ? topic_.to_string() : string(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:173:8: error: ‘binary_ref’ does not name a type const binary_ref& get_payload() const { return payload_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:178:2: error: ‘string’ does not name a type string get_payload_str() const { return payload_ ? payload_.to_string() : string(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:193:2: error: ‘const_message_ptr’ does not name a type const_message_ptr get_message() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:200:17: error: ‘string_ref’ has not been declared void set_topic(string_ref top); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:205:19: error: ‘binary_ref’ has not been declared void set_payload(binary_ref msg); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:210:19: error: ‘string’ has not been declared void set_payload(string msg) { set_payload(binary_ref(std::move(msg))); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:210:7: error: ‘void mqtt::will_options::set_payload(int)’ cannot be overloaded void set_payload(string msg) { set_payload(binary_ref(std::move(msg))); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:205:7: error: with ‘void mqtt::will_options::set_payload(int)’ void set_payload(binary_ref msg); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:116:14: error: ‘DFLT_QOS’ was not declared in this scope int qos=DFLT_QOS, bool retained=DFLT_RETAINED); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:116:38: error: ‘DFLT_RETAINED’ was not declared in this scope int qos=DFLT_QOS, bool retained=DFLT_RETAINED); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h: In member function ‘const char* mqtt::will_options::c_str(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:82:18: error: request for member ‘to_string’ in ‘sr’, which is of non-class type ‘const int’ return sr ? sr.to_string().c_str() : nullptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:82:40: error: ‘nullptr’ was not declared in this scope return sr ? sr.to_string().c_str() : nullptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h: In member function ‘void mqtt::will_options::set_payload(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:210:56: error: ‘move’ is not a member of ‘std’ void set_payload(string msg) { set_payload(binary_ref(std::move(msg))); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:210:70: error: ‘binary_ref’ was not declared in this scope void set_payload(string msg) { set_payload(binary_ref(std::move(msg))); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:225:7: error: expected nested-name-specifier before ‘will_options_ptr’ using will_options_ptr = will_options::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/will_options.h:228:7: error: expected nested-name-specifier before ‘const_will_options_ptr’ using const_will_options_ptr = will_options::const_ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:34:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:33, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:53:2: error: ‘string’ does not name a type string trustStore_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:56:2: error: ‘string’ does not name a type string keyStore_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:59:2: error: ‘string’ does not name a type string privateKey_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:62:2: error: ‘string’ does not name a type string privateKeyPassword_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:68:2: error: ‘string’ does not name a type string enabledCipherSuites_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:85:26: error: ‘string’ does not name a type const char* c_str(const string& str) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:95:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:97:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:117:20: error: ‘string’ does not name a type ssl_options(const string& trustStore, const string& keyStore, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:117:46: error: ‘string’ does not name a type ssl_options(const string& trustStore, const string& keyStore, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:118:11: error: ‘string’ does not name a type const string& privateKey, const string& privateKeyPassword, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:118:37: error: ‘string’ does not name a type const string& privateKey, const string& privateKeyPassword, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:119:11: error: ‘string’ does not name a type const string& enabledCipherSuites, bool enableServerCertAuth); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:129:25: error: expected ‘,’ or ‘...’ before ‘&&’ token ssl_options(ssl_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:129:31: error: invalid constructor; you probably meant ‘mqtt::ssl_options (const mqtt::ssl_options&)’ ssl_options(ssl_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:141:36: error: expected ‘,’ or ‘...’ before ‘&&’ token ssl_options& operator=(ssl_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:147:2: error: ‘string’ does not name a type string get_trust_store() const { return trustStore_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:152:2: error: ‘string’ does not name a type string get_key_store() const { return keyStore_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:157:2: error: ‘string’ does not name a type string get_private_key() const { return privateKey_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:162:2: error: ‘string’ does not name a type string get_private_key_password() const { return privateKeyPassword_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:168:2: error: ‘string’ does not name a type string get_enabled_cipher_suites() const { return enabledCipherSuites_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:182:29: error: ‘string’ does not name a type void set_trust_store(const string& trustStore); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:189:27: error: ‘string’ does not name a type void set_key_store(const string& keyStore); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:196:29: error: ‘string’ does not name a type void set_private_key(const string& privateKey); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:202:38: error: ‘string’ does not name a type void set_private_key_password(const string& privateKeyPassword); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:220:39: error: ‘string’ does not name a type void set_enabled_cipher_suites(const string& enabledCipherSuites); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h: In member function ‘const char* mqtt::ssl_options::c_str(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:86:14: error: request for member ‘empty’ in ‘str’, which is of non-class type ‘const int’ return str.empty() ? nullptr : str.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:86:24: error: ‘nullptr’ was not declared in this scope return str.empty() ? nullptr : str.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:86:38: error: request for member ‘c_str’ in ‘str’, which is of non-class type ‘const int’ return str.empty() ? nullptr : str.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/ssl_options.h:232:7: error: expected nested-name-specifier before ‘ssl_options_ptr’ using ssl_options_ptr = ssl_options::ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:33:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:61:2: error: ‘string_ref’ does not name a type string_ref userName_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:64:2: error: ‘binary_ref’ does not name a type binary_ref password_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:67:2: error: ‘token_ptr’ does not name a type token_ptr tok_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:70:2: error: ‘const_string_collection_ptr’ does not name a type const_string_collection_ptr serverURIs_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:87:26: error: ‘string_ref’ does not name a type const char* c_str(const string_ref& sr) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:93:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:95:8: error: expected nested-name-specifier before ‘const_ptr_t’ using const_ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:106:29: error: expected ‘)’ before ‘userName’ connect_options(string_ref userName, binary_ref password); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:116:33: error: expected ‘,’ or ‘...’ before ‘&&’ token connect_options(connect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:116:39: error: invalid constructor; you probably meant ‘mqtt::connect_options (const mqtt::connect_options&)’ connect_options(connect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:126:44: error: expected ‘,’ or ‘...’ before ‘&&’ token connect_options& operator=(connect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:131:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::seconds get_keep_alive_interval() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:140:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::seconds get_connect_timeout() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:147:2: error: ‘string’ does not name a type string get_user_name() const { return userName_ ? userName_.to_string() : string(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:152:2: error: ‘binary_ref’ does not name a type binary_ref get_password() const { return password_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:157:2: error: ‘string’ does not name a type string get_password_str() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:170:2: error: ‘string’ does not name a type string get_will_topic() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:177:2: error: ‘const_message_ptr’ does not name a type const_message_ptr get_will_message() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:207:2: error: ‘token_ptr’ does not name a type token_ptr get_token() const { return tok_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:215:2: error: ‘const_string_collection_ptr’ does not name a type const_string_collection_ptr get_servers() const { return serverURIs_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:237:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::seconds get_min_retry_interval() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:245:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::seconds get_max_retry_interval() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:275:42: error: ‘chrono’ in namespace ‘std’ does not name a type void set_keep_alive_interval(const std::chrono::duration& interval) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:275:58: error: expected unqualified-id before ‘<’ token void set_keep_alive_interval(const std::chrono::duration& interval) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:275:58: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:275:58: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:295:38: error: ‘chrono’ in namespace ‘std’ does not name a type void set_connect_timeout(const std::chrono::duration& timeout) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:295:54: error: expected unqualified-id before ‘<’ token void set_connect_timeout(const std::chrono::duration& timeout) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:295:54: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:295:54: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:303:21: error: ‘string_ref’ has not been declared void set_user_name(string_ref userName); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:307:20: error: ‘binary_ref’ has not been declared void set_password(binary_ref password); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:323:23: error: ‘token_ptr’ does not name a type void set_token(const token_ptr& tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:332:19: error: ‘const_string_collection_ptr’ has not been declared void set_servers(const_string_collection_ptr serverURIs); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:366:42: error: ‘chrono’ in namespace ‘std’ does not name a type void set_automatic_reconnect(const std::chrono::duration& minRetryInterval, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:366:58: error: expected unqualified-id before ‘<’ token void set_automatic_reconnect(const std::chrono::duration& minRetryInterval, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:366:58: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:366:58: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:375:2: error: ‘string’ does not name a type string to_string() const; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h: In member function ‘const char* mqtt::connect_options::c_str(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:88:13: error: request for member ‘empty’ in ‘sr’, which is of non-class type ‘const int’ return sr.empty() ? nullptr : sr.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:88:23: error: ‘nullptr’ was not declared in this scope return sr.empty() ? nullptr : sr.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:88:36: error: request for member ‘c_str’ in ‘sr’, which is of non-class type ‘const int’ return sr.empty() ? nullptr : sr.c_str(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/connect_options.h:379:7: error: expected nested-name-specifier before ‘connect_options_ptr’ using connect_options_ptr = connect_options::ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:34:0, from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:46:2: error: ‘token_ptr’ does not name a type token_ptr tok_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:62:40: error: ‘token_ptr’ does not name a type disconnect_options(int timeout, const token_ptr& tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:69:32: error: ‘chrono’ in namespace ‘std’ does not name a type disconnect_options(const std::chrono::duration& to, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:69:48: error: expected unqualified-id before ‘<’ token disconnect_options(const std::chrono::duration& to, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:69:48: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:69:48: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:83:39: error: expected ‘,’ or ‘...’ before ‘&&’ token disconnect_options(disconnect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:83:45: error: invalid constructor; you probably meant ‘mqtt::disconnect_options (const mqtt::disconnect_options&)’ disconnect_options(disconnect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:93:50: error: expected ‘,’ or ‘...’ before ‘&&’ token disconnect_options& operator=(disconnect_options&& opt); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:98:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::milliseconds get_timeout() const { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:114:30: error: ‘chrono’ in namespace ‘std’ does not name a type void set_timeout(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:114:46: error: expected unqualified-id before ‘<’ token void set_timeout(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:114:46: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:114:46: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:122:23: error: ‘token_ptr’ does not name a type void set_token(const token_ptr& tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/disconnect_options.h:127:2: error: ‘token_ptr’ does not name a type token_ptr get_token() const { return tok_; } ^ In file included from /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:38:0, from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:64:8: error: expected nested-name-specifier before ‘qos_collection’ using qos_collection = std::vector; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:77:10: error: ‘token_ptr’ does not name a type virtual token_ptr connect() =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:87:10: error: ‘token_ptr’ does not name a type virtual token_ptr connect(connect_options options) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:102:10: error: ‘token_ptr’ does not name a type virtual token_ptr connect(connect_options options, void* userContext, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:114:10: error: ‘token_ptr’ does not name a type virtual token_ptr connect(void* userContext, iaction_listener& cb) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:120:10: error: ‘token_ptr’ does not name a type virtual token_ptr reconnect() =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:127:10: error: ‘token_ptr’ does not name a type virtual token_ptr disconnect() =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:135:10: error: ‘token_ptr’ does not name a type virtual token_ptr disconnect(disconnect_options opts) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:145:10: error: ‘token_ptr’ does not name a type virtual token_ptr disconnect(int timeout) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:159:10: error: ‘token_ptr’ does not name a type virtual token_ptr disconnect(int timeout, void* userContext, iaction_listener& cb) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:170:10: error: ‘token_ptr’ does not name a type virtual token_ptr disconnect(void* userContext, iaction_listener& cb) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:175:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr get_pending_delivery_token(int msgID) const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:180:22: error: ‘delivery_token_ptr’ was not declared in this scope virtual std::vector get_pending_delivery_tokens() const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:180:40: error: template argument 1 is invalid virtual std::vector get_pending_delivery_tokens() const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:180:40: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:185:10: error: ‘string’ does not name a type virtual string get_client_id() const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:189:10: error: ‘string’ does not name a type virtual string get_server_uri() const =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:206:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(string_ref topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:217:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(string_ref topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:234:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(string_ref topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:249:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(string_ref topic, binary_ref payload, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:258:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(string_ref topic, binary_ref payload) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:267:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(const_message_ptr msg) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:278:10: error: ‘delivery_token_ptr’ does not name a type virtual delivery_token_ptr publish(const_message_ptr msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:305:10: error: ‘token_ptr’ does not name a type virtual token_ptr subscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:323:10: error: ‘token_ptr’ does not name a type virtual token_ptr subscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:338:10: error: ‘token_ptr’ does not name a type virtual token_ptr subscribe(const string& topicFilter, int qos) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:355:10: error: ‘token_ptr’ does not name a type virtual token_ptr subscribe(const string& topicFilter, int qos, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:364:10: error: ‘token_ptr’ does not name a type virtual token_ptr unsubscribe(const string& topicFilter) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:373:10: error: ‘token_ptr’ does not name a type virtual token_ptr unsubscribe(const_string_collection_ptr topicFilters) =0; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:386:10: error: ‘token_ptr’ does not name a type virtual token_ptr unsubscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/iasync_client.h:399:10: error: ‘token_ptr’ does not name a type virtual token_ptr unsubscribe(const string& topicFilter, ^ In file included from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2:0: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:48:7: error: ‘uint32_t’ does not name a type const uint32_t VERSION = 0x00090000; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:50:7: error: ‘string’ does not name a type const string VERSION_STR("Paho MQTT C++ (mqttpp) v. 0.9"); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:52:7: error: ‘string’ does not name a type const string COPYRIGHT("Copyright (c) 2013-2017 Frank Pagliughi"); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:64:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:66:8: error: expected nested-name-specifier before ‘consumer_queue_type’ using consumer_queue_type = std::unique_ptr>; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:70:8: error: expected nested-name-specifier before ‘guard’ using guard = std::unique_lock; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:72:8: error: expected nested-name-specifier before ‘unique_lock’ using unique_lock = std::unique_lock; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:75:15: error: ‘mutex’ in namespace ‘std’ does not name a type mutable std::mutex lock_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:79:2: error: ‘string’ does not name a type string serverURI_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:81:2: error: ‘string’ does not name a type string clientId_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:83:7: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr persist_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:87:2: error: ‘token_ptr’ does not name a type token_ptr connTok_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:89:12: error: ‘token_ptr’ was not declared in this scope std::list pendingTokens_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:89:21: error: template argument 1 is invalid std::list pendingTokens_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:89:21: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:91:12: error: ‘delivery_token_ptr’ was not declared in this scope std::list pendingDeliveryTokens_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:91:30: error: template argument 1 is invalid std::list pendingDeliveryTokens_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:91:30: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:93:2: error: ‘consumer_queue_type’ does not name a type consumer_queue_type que_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:104:25: error: ‘token_ptr’ has not been declared virtual void add_token(token_ptr tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:105:25: error: ‘delivery_token_ptr’ has not been declared virtual void add_token(delivery_token_ptr tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:105:15: error: ‘virtual void mqtt::async_client::add_token(int)’ cannot be overloaded virtual void add_token(delivery_token_ptr tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:104:15: error: with ‘virtual void mqtt::async_client::add_token(int)’ virtual void add_token(token_ptr tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:106:38: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 virtual void remove_token(token* tok) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:107:28: error: ‘token_ptr’ has not been declared virtual void remove_token(token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:108:20: error: ‘delivery_token_ptr’ has not been declared void remove_token(delivery_token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:108:7: error: ‘void mqtt::async_client::remove_token(int)’ cannot be overloaded void remove_token(delivery_token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:107:15: error: with ‘virtual void mqtt::async_client::remove_token(int)’ virtual void remove_token(token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:111:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 async_client() =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:112:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 async_client(const async_client&) =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:113:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 async_client& operator=(const async_client&) =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:127:21: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:127:46: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:128:12: error: ‘string’ does not name a type const string& persistDir); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:142:21: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:142:46: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:157:21: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:157:46: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:158:37: error: ‘string’ does not name a type int maxBufferedMessages, const string& persistDir); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:174:21: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:174:46: error: ‘string’ does not name a type async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:179:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 ~async_client() override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:187:2: error: ‘token_ptr’ does not name a type token_ptr connect() override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:197:2: error: ‘token_ptr’ does not name a type token_ptr connect(connect_options options) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:211:2: error: ‘token_ptr’ does not name a type token_ptr connect(connect_options options, void* userContext, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:224:2: error: ‘token_ptr’ does not name a type token_ptr connect(void* userContext, iaction_listener& cb) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:232:2: error: ‘token_ptr’ does not name a type token_ptr reconnect() override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:239:2: error: ‘token_ptr’ does not name a type token_ptr disconnect() override { return disconnect(disconnect_options()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:247:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(disconnect_options opts) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:258:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(int timeout) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:270:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(const std::chrono::duration& timeout) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:288:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(int timeout, void* userContext, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:305:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(const std::chrono::duration& timeout, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:321:2: error: ‘token_ptr’ does not name a type token_ptr disconnect(void* userContext, iaction_listener& cb) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:328:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr get_pending_delivery_token(int msgID) const override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:333:14: error: ‘delivery_token_ptr’ was not declared in this scope std::vector get_pending_delivery_tokens() const override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:333:32: error: template argument 1 is invalid std::vector get_pending_delivery_tokens() const override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:333:32: error: template argument 2 is invalid /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:333:64: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::vector get_pending_delivery_tokens() const override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:338:2: error: ‘string’ does not name a type string get_client_id() const override { return clientId_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:343:2: error: ‘string’ does not name a type string get_server_uri() const override { return serverURI_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:348:22: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 bool is_connected() const override { return to_bool(MQTTAsync_isConnected(cli_)); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:361:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(string_ref topic, const void* payload, size_t n, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:371:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(string_ref topic, const void* payload, size_t n) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:386:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(string_ref topic, binary_ref payload, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:395:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(string_ref topic, binary_ref payload) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:414:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(string_ref topic, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:426:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(const_message_ptr msg) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:438:2: error: ‘delivery_token_ptr’ does not name a type delivery_token_ptr publish(const_message_ptr msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:446:32: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void set_callback(callback& cb) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:452:25: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void disable_callbacks() override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:464:2: error: ‘token_ptr’ does not name a type token_ptr subscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:480:2: error: ‘token_ptr’ does not name a type token_ptr subscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:492:2: error: ‘token_ptr’ does not name a type token_ptr subscribe(const string& topicFilter, int qos) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:508:2: error: ‘token_ptr’ does not name a type token_ptr subscribe(const string& topicFilter, int qos, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:517:2: error: ‘token_ptr’ does not name a type token_ptr unsubscribe(const string& topicFilter) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:526:2: error: ‘token_ptr’ does not name a type token_ptr unsubscribe(const_string_collection_ptr topicFilters) override; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:537:2: error: ‘token_ptr’ does not name a type token_ptr unsubscribe(const_string_collection_ptr topicFilters, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:550:2: error: ‘token_ptr’ does not name a type token_ptr unsubscribe(const string& topicFilter, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:570:2: error: ‘const_message_ptr’ does not name a type const_message_ptr consume_message() { return que_->get(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:577:27: error: ‘const_message_ptr’ has not been declared bool try_consume_message(const_message_ptr* msg) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:588:31: error: ‘const_message_ptr’ has not been declared bool try_consume_message_for(const_message_ptr* msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:589:21: error: ‘chrono’ in namespace ‘std’ does not name a type const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:589:37: error: expected unqualified-id before ‘<’ token const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:589:37: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:589:37: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:600:33: error: ‘const_message_ptr’ has not been declared bool try_consume_message_until(const_message_ptr* msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:601:23: error: ‘chrono’ in namespace ‘std’ does not name a type const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:601:41: error: expected unqualified-id before ‘<’ token const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:601:41: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:601:41: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:143:39: error: ‘nullptr’ was not declared in this scope iclient_persistence* persistence=nullptr); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:175:64: error: ‘nullptr’ was not declared in this scope int maxBufferedMessages, iclient_persistence* persistence=nullptr); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h: In member function ‘virtual void mqtt::async_client::remove_token(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:107:62: error: request for member ‘get’ in ‘tok’, which is of non-class type ‘int’ virtual void remove_token(token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h: In member function ‘void mqtt::async_client::remove_token(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:108:63: error: request for member ‘get’ in ‘tok’, which is of non-class type ‘int’ void remove_token(delivery_token_ptr tok) { remove_token(tok.get()); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h: In member function ‘bool mqtt::async_client::try_consume_message(int*)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:578:10: error: ‘que_’ was not declared in this scope return que_->try_get(msg); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:608:7: error: expected nested-name-specifier before ‘async_client_ptr’ using async_client_ptr = async_client::ptr_t; ^ In file included from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:3:0: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:41:20: error: ‘chrono’ in namespace ‘std’ does not name a type static const std::chrono::minutes DFLT_TIMEOUT; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:43:9: error: ‘constexpr’ does not name a type static constexpr int DFLT_QOS = 1; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:43:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:48:7: error: ‘chrono’ in namespace ‘std’ does not name a type std::chrono::milliseconds timeout_; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:63:7: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr ptr(const T& val) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:70:23: error: ‘string’ does not name a type void connected(const string& cause) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:70:36: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void connected(const string& cause) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:73:29: error: ‘string’ does not name a type void connection_lost(const string& cause) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:73:42: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void connection_lost(const string& cause) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:77:23: error: ‘const_message_ptr’ has not been declared void message_arrived(const_message_ptr msg) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:77:44: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void message_arrived(const_message_ptr msg) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:80:25: error: ‘delivery_token_ptr’ has not been declared void delivery_complete(delivery_token_ptr tok) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:80:47: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void delivery_complete(delivery_token_ptr tok) override { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:85:12: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 client() =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:86:31: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 client(const async_client&) =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:87:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 client& operator=(const async_client&) =delete; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:91:8: error: expected nested-name-specifier before ‘ptr_t’ using ptr_t = std::shared_ptr; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:93:8: error: expected nested-name-specifier before ‘qos_collection’ using qos_collection = async_client::qos_collection; ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:106:15: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:106:40: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:118:15: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:118:40: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:119:12: error: ‘string’ does not name a type const string& persistDir); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:134:15: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:134:40: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:148:15: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:148:40: error: ‘string’ does not name a type client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:149:37: error: ‘string’ does not name a type int maxBufferedMessages, const string& persistDir); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:198:29: error: ‘chrono’ in namespace ‘std’ does not name a type void disconnect(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:198:45: error: expected unqualified-id before ‘<’ token void disconnect(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:198:45: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:198:45: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:205:10: error: ‘string’ does not name a type virtual string get_client_id() const { return cli_.get_client_id(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:210:10: error: ‘string’ does not name a type virtual string get_server_uri() const { return cli_.get_server_uri(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:215:15: error: ‘chrono’ in namespace ‘std’ does not name a type virtual std::chrono::milliseconds get_timeout() const { return timeout_; } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:222:32: error: ‘string’ does not name a type virtual topic get_topic(const string& top) { return topic(cli_, top); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:239:23: error: ‘string_ref’ has not been declared virtual void publish(string_ref top, const void* payload, size_t n, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:250:23: error: ‘string_ref’ has not been declared virtual void publish(string_ref top, const void* payload, size_t n) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:257:23: error: ‘const_message_ptr’ has not been declared virtual void publish(const_message_ptr msg) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:288:30: error: ‘chrono’ in namespace ‘std’ does not name a type void set_timeout(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:288:46: error: expected unqualified-id before ‘<’ token void set_timeout(const std::chrono::duration& to) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:288:46: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:288:46: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:295:31: error: ‘string’ does not name a type virtual void subscribe(const string& topicFilter) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:303:31: error: ‘string’ does not name a type virtual void subscribe(const string& topicFilter, int qos) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:318:16: error: ‘qos_collection’ does not name a type const qos_collection& qos) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:325:33: error: ‘string’ does not name a type virtual void unsubscribe(const string& topicFilter) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:352:2: error: ‘const_message_ptr’ does not name a type const_message_ptr consume_message() { return cli_.consume_message(); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:359:27: error: ‘const_message_ptr’ has not been declared bool try_consume_message(const_message_ptr* msg) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:370:31: error: ‘const_message_ptr’ has not been declared bool try_consume_message_for(const_message_ptr* msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:371:21: error: ‘chrono’ in namespace ‘std’ does not name a type const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:371:37: error: expected unqualified-id before ‘<’ token const std::chrono::duration& relTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:371:37: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:371:37: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:382:33: error: ‘const_message_ptr’ has not been declared bool try_consume_message_until(const_message_ptr* msg, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:383:23: error: ‘chrono’ in namespace ‘std’ does not name a type const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:383:41: error: expected unqualified-id before ‘<’ token const std::chrono::time_point& absTime) { ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:383:41: error: expected ‘)’ before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:383:41: error: expected initializer before ‘<’ token /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:107:39: error: ‘nullptr’ was not declared in this scope iclient_persistence* persistence=nullptr); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:135:64: error: ‘nullptr’ was not declared in this scope int maxBufferedMessages, iclient_persistence* persistence=nullptr); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::connected(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:71:3: error: ‘async’ is not a member of ‘std’ std::async(std::launch::async, &callback::connected, userCallback_, cause); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:71:19: error: ‘std::launch’ has not been declared std::async(std::launch::async, &callback::connected, userCallback_, cause); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::connection_lost(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:74:3: error: ‘async’ is not a member of ‘std’ std::async(std::launch::async, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:74:19: error: ‘std::launch’ has not been declared std::async(std::launch::async, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::delivery_complete(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:81:3: error: ‘async’ is not a member of ‘std’ std::async(std::launch::async, &callback::delivery_complete, userCallback_, tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:81:19: error: ‘std::launch’ has not been declared std::async(std::launch::async, &callback::delivery_complete, userCallback_, tok); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::connect()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:158:8: error: ‘class mqtt::async_client’ has no member named ‘connect’ cli_.connect()->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:158:28: error: ‘timeout_’ was not declared in this scope cli_.connect()->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::connect(mqtt::connect_options)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:166:8: error: ‘class mqtt::async_client’ has no member named ‘connect’ cli_.connect(std::move(opts))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:166:16: error: ‘move’ is not a member of ‘std’ cli_.connect(std::move(opts))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:166:43: error: ‘timeout_’ was not declared in this scope cli_.connect(std::move(opts))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::reconnect()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:173:34: error: ‘class mqtt::async_client’ has no member named ‘reconnect’ virtual void reconnect() { cli_.reconnect()->wait_for(timeout_); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:173:56: error: ‘timeout_’ was not declared in this scope virtual void reconnect() { cli_.reconnect()->wait_for(timeout_); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::disconnect()’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:179:8: error: ‘class mqtt::async_client’ has no member named ‘disconnect’ cli_.disconnect()->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:179:31: error: ‘timeout_’ was not declared in this scope cli_.disconnect()->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::disconnect(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:189:8: error: ‘class mqtt::async_client’ has no member named ‘disconnect’ cli_.disconnect(timeoutMS)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:189:40: error: ‘timeout_’ was not declared in this scope cli_.disconnect(timeoutMS)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual mqtt::topic mqtt::client::get_topic(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:222:69: error: call to ‘mqtt::topic::topic(mqtt::iasync_client&, const int&, int, bool)’ uses the default argument for parameter 3, which is not yet defined virtual topic get_topic(const string& top) { return topic(cli_, top); } ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:222:69: error: call to ‘mqtt::topic::topic(mqtt::iasync_client&, const int&, int, bool)’ uses the default argument for parameter 4, which is not yet defined /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::publish(int, const void*, size_t, int, bool)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:241:8: error: ‘class mqtt::async_client’ has no member named ‘publish’ cli_.publish(std::move(top), payload, n, qos, retained)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:241:16: error: ‘move’ is not a member of ‘std’ cli_.publish(std::move(top), payload, n, qos, retained)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:241:69: error: ‘timeout_’ was not declared in this scope cli_.publish(std::move(top), payload, n, qos, retained)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::publish(int, const void*, size_t)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:251:8: error: ‘class mqtt::async_client’ has no member named ‘publish’ cli_.publish(std::move(top), payload, n)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:251:16: error: ‘move’ is not a member of ‘std’ cli_.publish(std::move(top), payload, n)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:251:54: error: ‘timeout_’ was not declared in this scope cli_.publish(std::move(top), payload, n)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::publish(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:258:8: error: ‘class mqtt::async_client’ has no member named ‘publish’ cli_.publish(msg)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:258:31: error: ‘timeout_’ was not declared in this scope cli_.publish(msg)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::publish(const mqtt::message&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:268:8: error: ‘class mqtt::async_client’ has no member named ‘publish’ cli_.publish(ptr(msg))->wait(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:268:23: error: ‘ptr’ was not declared in this scope cli_.publish(ptr(msg))->wait(); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::set_timeout(int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:281:3: error: ‘timeout_’ was not declared in this scope timeout_ = std::chrono::milliseconds(timeoutMS); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:281:19: error: ‘std::chrono’ has not been declared timeout_ = std::chrono::milliseconds(timeoutMS); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::subscribe(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:296:8: error: ‘class mqtt::async_client’ has no member named ‘subscribe’ cli_.subscribe(topicFilter, DFLT_QOS)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:296:31: error: ‘DFLT_QOS’ was not declared in this scope cli_.subscribe(topicFilter, DFLT_QOS)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:296:51: error: ‘timeout_’ was not declared in this scope cli_.subscribe(topicFilter, DFLT_QOS)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::subscribe(const int&, int)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:304:8: error: ‘class mqtt::async_client’ has no member named ‘subscribe’ cli_.subscribe(topicFilter, qos)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:304:46: error: ‘timeout_’ was not declared in this scope cli_.subscribe(topicFilter, qos)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::subscribe(const mqtt::string_collection&, const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:319:8: error: ‘class mqtt::async_client’ has no member named ‘subscribe’ cli_.subscribe(ptr(topicFilters), qos)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:319:34: error: ‘ptr’ was not declared in this scope cli_.subscribe(ptr(topicFilters), qos)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:319:52: error: ‘timeout_’ was not declared in this scope cli_.subscribe(ptr(topicFilters), qos)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::unsubscribe(const int&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:326:8: error: ‘class mqtt::async_client’ has no member named ‘unsubscribe’ cli_.unsubscribe(topicFilter)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:326:43: error: ‘timeout_’ was not declared in this scope cli_.unsubscribe(topicFilter)->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: In member function ‘virtual void mqtt::client::unsubscribe(const mqtt::string_collection&)’: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:333:8: error: ‘class mqtt::async_client’ has no member named ‘unsubscribe’ cli_.unsubscribe(ptr(topicFilters))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:333:36: error: ‘ptr’ was not declared in this scope cli_.unsubscribe(ptr(topicFilters))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:333:49: error: ‘timeout_’ was not declared in this scope cli_.unsubscribe(ptr(topicFilters))->wait_for(timeout_); ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h: At global scope: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:389:7: error: expected nested-name-specifier before ‘client_ptr’ using client_ptr = client::ptr_t; ^ /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:5:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 const std::string SERVER_ADDRESS { "tcp://localhost:1883" }; ^ /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:5:59: error: in C++98 ‘SERVER_ADDRESS’ must be initialized by constructor, not by ‘{...}’ const std::string SERVER_ADDRESS { "tcp://localhost:1883" }; ^ /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:6:29: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 const std::string CLIENT_ID { "consume" }; ^ /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:6:41: error: in C++98 ‘CLIENT_ID’ must be initialized by constructor, not by ‘{...}’ const std::string CLIENT_ID { "consume" }; ^ /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp: In function ‘int main(int, char**)’: /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:15:59: error: no matching function for call to ‘mqtt::async_client::async_client(const string&, const string&)’ mqtt::async_client cli_async(SERVER_ADDRESS, CLIENT_ID); ^ In file included from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:2:0: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:174:2: note: candidate: mqtt::async_client::async_client(const int&, const int&, int, mqtt::iclient_persistence*) async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:174:2: note: candidate expects 4 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:157:2: note: candidate: mqtt::async_client::async_client(const int&, const int&, int, const int&) async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:157:2: note: candidate expects 4 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:142:2: note: candidate: mqtt::async_client::async_client(const int&, const int&, mqtt::iclient_persistence*) async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:142:2: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string}’ to ‘const int&’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:127:2: note: candidate: mqtt::async_client::async_client(const int&, const int&, const int&) async_client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/async_client.h:127:2: note: candidate expects 3 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:16:47: error: no matching function for call to ‘mqtt::client::client(const string&, const string&)’ mqtt::client cli(SERVER_ADDRESS, CLIENT_ID); ^ In file included from /tmp/c3ipr/pr_936_2_0_0/test_package/test_package.cpp:3:0: /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:148:2: note: candidate: mqtt::client::client(const int&, const int&, int, const int&) client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:148:2: note: candidate expects 4 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:134:2: note: candidate: mqtt::client::client(const int&, const int&, int, mqtt::iclient_persistence*) client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:134:2: note: candidate expects 4 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:118:2: note: candidate: mqtt::client::client(const int&, const int&, const int&) client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:118:2: note: candidate expects 3 arguments, 2 provided /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:106:2: note: candidate: mqtt::client::client(const int&, const int&, mqtt::iclient_persistence*) client(const string& serverURI, const string& clientId, ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:106:2: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string}’ to ‘const int&’ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:38:7: note: candidate: mqtt::client::client(const mqtt::client&) class client : private callback ^ /tmp/c3ipr/pr_936_2_0_0/.conan/data/paho-mqtt-cpp/1.0.1/_/_/package/ef63a398fedc965b1a6e5a3b1a3ecd6cc99210e9/include/mqtt/client.h:38:7: note: candidate expects 1 argument, 2 provided CMakeFiles/test_package.dir/build.make:65: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[2]: Leaving directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' CMakeFiles/Makefile2:78: recipe for target 'CMakeFiles/test_package.dir/all' failed make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make[1]: Leaving directory '/tmp/c3ipr/pr_936_2_0_0/test_package/build/c5038376ffb16f0e13183b1221b852add643f72a' Makefile:86: recipe for target 'all' failed make: *** [all] Error 2 JSON file created at '/tmp/c3ipr/pr_936_2_0_0/_create.json'