Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1172_4_0_40/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 7.0 Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=7.0 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1172_4_0_40/.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: 3.9501953125 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 [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 libmbus/20200424 exports: File 'conandata.yml' found. Exporting it... libmbus/20200424 exports: Copied 1 '.yml' file: conandata.yml libmbus/20200424 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200424': {'sha256': '0357e8795b1685a493399414a676827f4084fcee7806648af65e753ef5734b34', 'url': 'https://github.com/rscada/libmbus/archive/baf03e2a47500e088161471829a05a3f42f45a0b.zip'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20200424': sha256: 0357e8795b1685a493399414a676827f4084fcee7806648af65e753ef5734b34 url: https://github.com/rscada/libmbus/archive/baf03e2a47500e088161471829a05a3f42f45a0b.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK libmbus/20200424: A new conanfile.py version was exported libmbus/20200424: Folder: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/export libmbus/20200424: Using the exported files summary hash as the recipe revision: dd0cac36a3f39dfaf951027a38fe388b libmbus/20200424: Exported revision: dd0cac36a3f39dfaf951027a38fe388b Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=7.0 os=Linux os_build=Linux [options] libmbus:shared=True [build_requires] [env] libmbus/20200424: Forced build from source libmbus/20200424 (test package): Installing package Requirements libmbus/20200424 from local cache - Cache Packages libmbus/20200424:f16aa6248c005c19f226df75e351b1b7fbea3949 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libmbus/20200424: Configuring sources in /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/source Unzipping 800.7KB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK libmbus/20200424: Copying sources to build folder libmbus/20200424: Building your package in /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949 libmbus/20200424: 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 libmbus/20200424: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="7.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DLIBMBUS_ENABLE_COVERAGE="False" -DLIBMBUS_BUILD_TESTS="False" -DLIBMBUS_BUILD_EXAMPLES="False" -Wno-dev '/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949' ----------------- -- The C compiler identification is Clang 7.0.0 -- The CXX compiler identification is Clang 7.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- 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/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- 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: Checking correct version: 7.0 -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- 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_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target libmbus [ 16%] Building C object source_subfolder/CMakeFiles/libmbus.dir/mbus/mbus-protocol.c.o [ 33%] Building C object source_subfolder/CMakeFiles/libmbus.dir/mbus/mbus-tcp.c.o [ 50%] Building C object source_subfolder/CMakeFiles/libmbus.dir/mbus/mbus.c.o /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:67:36: warning: unused parameter 'src_type' [-Wunused-parameter] mbus_dump_recv_event(unsigned char src_type, const char *buff, size_t len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:73:36: warning: unused parameter 'src_type' [-Wunused-parameter] mbus_dump_send_event(unsigned char src_type, const char *buff, size_t len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:647:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < int_data_size; i++) ~ ^ ~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:754:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pos += snprintf(&dst[pos], max_len - pos, "%.2X ", src[i]); ^~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:875:26: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_data_int_decode(m_str, 2, &m_id); ^~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:534:37: note: passing argument to parameter 'int_data' here mbus_data_int_decode(unsigned char *int_data, size_t int_data_size, int *value) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:2641:38: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_data_bin_decode(buff, record->data, record->data_len, sizeof(buff)); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:744:37: note: passing argument to parameter 'dst' here mbus_data_bin_decode(unsigned char *dst, const unsigned char *src, size_t len, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:2647:42: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_data_str_decode(buff, record->data, record->data_len); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:723:37: note: passing argument to parameter 'dst' here mbus_data_str_decode(unsigned char *dst, const unsigned char *src, size_t len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:2713:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i=0; idrh.dib.ndife; i++) ~^~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:2736:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i=0; idrh.dib.ndife; i++) ~^~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:2759:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i=0; idrh.dib.ndife; i++) ~^~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3159:33: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (var_vif_len > sizeof(record->drh.vib.custom_vif)) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3507:31: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (j = 0; j < record->drh.dib.ndife; j++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3516:31: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (j = 0; j < record->drh.vib.nvife; j++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3524:31: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (j = 0; j < record->data_len; j++) ~ ^ ~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3838:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, "&"); ^~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3841:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, "<"); ^~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3844:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, ">"); ^~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3847:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, """); ^~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3881:29: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_product_name(header), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3881:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_product_name(header), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3885:29: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_variable_medium_lookup(header->medium), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3885:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_variable_medium_lookup(header->medium), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3939:33: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_function(record), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3939:46: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_function(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3955:33: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_unit(record), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3955:46: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_unit(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3960:29: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_value(record), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3960:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_value(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3904:115: warning: unused parameter 'header' [-Wunused-parameter] mbus_data_variable_record_xml(mbus_data_record *record, int record_cnt, int frame_cnt, mbus_data_variable_header *header) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4056:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_medium(data), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4056:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_medium(data), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4065:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4065:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4068:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt1_type), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4068:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt1_type), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4084:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4084:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4087:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt2_type), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4087:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt2_type), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4129:25: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_error_lookup(error), sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:36: note: passing argument to parameter 'dst' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4129:38: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_error_lookup(error), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:3803:62: note: passing argument to parameter 'src' here mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4429:9: warning: variable 'data' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (frame == NULL || (data = mbus_frame_data_new()) == NULL) ^~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4433:61: note: uninitialized use occurs here __PRETTY_FUNCTION__, (void*)frame, (void*)data); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4429:9: note: remove the '||' if its condition is always false if (frame == NULL || (data = mbus_frame_data_new()) == NULL) ^~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.c:4426:26: note: initialize the variable 'data' to silence this warning mbus_frame_data *data; ^ = NULL /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-tcp.c:169:54: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] handle->send_event(MBUS_HANDLE_TYPE_TCP, buff, len); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-tcp.c:236:45: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] } while ((remaining = mbus_parse(frame, buff, len)) > 0); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:536:50: note: passing argument to parameter 'data' here int mbus_parse(mbus_frame *frame, unsigned char *data, size_t data_size); ^ [ 66%] Building C object source_subfolder/CMakeFiles/libmbus.dir/mbus/mbus-protocol-aux.c.o 2 warnings generated. [ 83%] Building C object source_subfolder/CMakeFiles/libmbus.dir/mbus/mbus-serial.c.o /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-serial.c:268:61: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] handle->send_event(MBUS_HANDLE_TYPE_SERIAL, buff, len); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-serial.c:354:45: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] } while ((remaining = mbus_parse(frame, buff, len)) > 0); ^~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:536:50: note: passing argument to parameter 'data' here int mbus_parse(mbus_frame *frame, unsigned char *data, size_t data_size); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:810:36: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (fixed_table[i].vif == medium_unit) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ 2 warnings generated. /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1114:36: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *quantity_out = strdup(vib->custom_vif); ^~~~~~~~~~~~~~~ /usr/include/string.h:166:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1425:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->function_medium, sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:42: note: passing argument to parameter 'dst' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1425:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->function_medium, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:68: note: passing argument to parameter 'src' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1436:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->unit, sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:42: note: passing argument to parameter 'dst' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1436:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->unit, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:68: note: passing argument to parameter 'src' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1440:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->quantity, sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:42: note: passing argument to parameter 'dst' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1440:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->quantity, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:68: note: passing argument to parameter 'src' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1450:41: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->value.str_val.value, sizeof(str_encoded)); ^~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:42: note: passing argument to parameter 'dst' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:1450:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->value.str_val.value, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol.h:572:68: note: passing argument to parameter 'src' here int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/source_subfolder/mbus/mbus-protocol-aux.c:2556:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] val = strtoul(ptr, (char **)&end, 16); ^~~ /usr/include/stdlib.h:180:58: note: passing argument to parameter '__nptr' here extern unsigned long int strtoul (const char *__restrict __nptr, ^ 11 warnings generated. 42 warnings generated. [100%] Linking C shared library ../lib/liblibmbus.so [100%] Built target libmbus libmbus/20200424: Package 'f16aa6248c005c19f226df75e351b1b7fbea3949' built libmbus/20200424: Build folder /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949 libmbus/20200424: Generated conaninfo.txt libmbus/20200424: Generated conanbuildinfo.txt libmbus/20200424: Generating the package libmbus/20200424: Package folder /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949 libmbus/20200424: Calling package() ----Running------ > cmake --build '/tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/build/f16aa6248c005c19f226df75e351b1b7fbea3949/build_subfolder' '--target' 'install' '--' '-j3' ----------------- [100%] Built target libmbus Install the project... -- Install configuration: "Release" -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/share/pkgconfig/libmbus.pc -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/lib/liblibmbus.so -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/lib/cmake/libmbus/libmbusTargets.cmake -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/lib/cmake/libmbus/libmbusTargets-release.cmake -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/lib/cmake/libmbus/libmbusConfig.cmake -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/lib/cmake/libmbus/libmbusConfigVersion.cmake -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus/mbus-protocol.h -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus/mbus.h -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus/mbus-tcp.h -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus/mbus-protocol-aux.h -- Installing: /tmp/c3ipr/pr_1172_4_0_40/.conan/data/libmbus/20200424/_/_/package/f16aa6248c005c19f226df75e351b1b7fbea3949/include/mbus/mbus-serial.h [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 libmbus/20200424 package(): Packaged 1 '.so' file: liblibmbus.so libmbus/20200424 package(): Packaged 5 '.h' files libmbus/20200424 package(): Packaged 1 file: LICENSE libmbus/20200424: Package 'f16aa6248c005c19f226df75e351b1b7fbea3949' created libmbus/20200424: Created package revision d65398d8098f751f37e41d929d00e240 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK libmbus/20200424 (test package): Generator cmake created conanbuildinfo.cmake libmbus/20200424 (test package): Generator txt created conanbuildinfo.txt libmbus/20200424 (test package): Generated conaninfo.txt libmbus/20200424 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/co_pr_1172_4_0_40/recipes/libmbus/all/test_package/build/de91e9f5afc20ac0596c67c6973e8c60b2f94f93/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 libmbus/20200424 (test package): Calling build() ----Running------ > cd '/tmp/c3ipr/co_pr_1172_4_0_40/recipes/libmbus/all/test_package/build/de91e9f5afc20ac0596c67c6973e8c60b2f94f93' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="7.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/tmp/c3ipr/co_pr_1172_4_0_40/recipes/libmbus/all/test_package' ----------------- -- The C compiler identification is Clang 7.0.0 -- The CXX compiler identification is Clang 7.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- 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/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- 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: Checking correct version: 7.0 -- 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/co_pr_1172_4_0_40/recipes/libmbus/all/test_package/build/de91e9f5afc20ac0596c67c6973e8c60b2f94f93 ----Running------ > cmake --build '/tmp/c3ipr/co_pr_1172_4_0_40/recipes/libmbus/all/test_package/build/de91e9f5afc20ac0596c67c6973e8c60b2f94f93' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package [100%] Built target test_package libmbus/20200424 (test package): Running test() ----Running------ > bin/test_package ----------------- JSON file created at '/tmp/c3ipr/pr_1172_4_0_40/_create.json'