******************************************************************************** conan install libmbus/20200424@#f0cfb36c41860fd52971a4490fd39d3b --build=libmbus -pr /home/conan/w/prod/BuildSingleReference/271145/a41d7f37-83d9-4a8e-8227-5f1913a4246a/profile_linux_12_libstdcpp_clang_release_64.libmbus-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 12.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=12 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=12 os=Linux [options] libmbus:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libmbus/20200424: Forced build from source Installing package: libmbus/20200424 Requirements libmbus/20200424 from local cache - Cache Packages libmbus/20200424:c4e0fbaccfc6985428b092ccc7aa4bcd74617546 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libmbus/20200424: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/source/src libmbus/20200424: libmbus/20200424: Unzipping 800.7KB, this can take a while libmbus/20200424: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK libmbus/20200424: Copying sources to build folder libmbus/20200424: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546 libmbus/20200424: Generator txt created conanbuildinfo.txt libmbus/20200424: Calling generate() libmbus/20200424: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libmbus/20200424: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libmbus/20200424: Aggregating env generators [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: Calling build() libmbus/20200424: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The CXX compiler identification is Clang 12.0.0 -- The C compiler identification is Clang 12.0.0 -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release libmbus/20200424: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release" '--' '-j3' ----------------- Scanning dependencies of target libmbus [ 16%] Building C object CMakeFiles/libmbus.dir/mbus/mbus-protocol.c.o [ 33%] Building C object CMakeFiles/libmbus.dir/mbus/mbus-tcp.c.o [ 50%] Building C object CMakeFiles/libmbus.dir/mbus/mbus.c.o [ 66%] Building C object CMakeFiles/libmbus.dir/mbus/mbus-protocol-aux.c.o [ 83%] Building C object CMakeFiles/libmbus.dir/mbus/mbus-serial.c.o [100%] Linking C shared library lib/liblibmbus.so [100%] Built target libmbus libmbus/20200424: Package 'c4e0fbaccfc6985428b092ccc7aa4bcd74617546' built libmbus/20200424: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release libmbus/20200424: Generated conaninfo.txt libmbus/20200424: Generated conanbuildinfo.txt libmbus/20200424: Generating the package libmbus/20200424: Package folder /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546 libmbus/20200424: Calling package() libmbus/20200424: Copied 1 file: LICENSE libmbus/20200424: CMake command: cmake --install "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release" --prefix "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546" ----Running------ > cmake --install "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/build/Release" --prefix "/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546" ----------------- -- Install configuration: "Release" -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/share/pkgconfig/libmbus.pc -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/lib/liblibmbus.so -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/lib/cmake/libmbus/libmbusTargets.cmake -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/lib/cmake/libmbus/libmbusTargets-release.cmake -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/lib/cmake/libmbus/libmbusConfig.cmake -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/lib/cmake/libmbus/libmbusConfigVersion.cmake -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/include/mbus -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/include/mbus/mbus.h -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/include/mbus/mbus-protocol.h -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/include/mbus/mbus-tcp.h -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/include/mbus/mbus-protocol-aux.h -- Installing: /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/package/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/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(): [STATIC ARTIFACTS (KB-H074)] OK [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] 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 [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK libmbus/20200424 package(): Packaged 1 file: LICENSE libmbus/20200424 package(): Packaged 1 '.so' file: liblibmbus.so libmbus/20200424 package(): Packaged 5 '.h' files libmbus/20200424: Package 'c4e0fbaccfc6985428b092ccc7aa4bcd74617546' created libmbus/20200424: Created package revision 83772968b18bf86ca73e5e8c8ed5529a [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK Aggregating env generators /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~ ^ ~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:754:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pos += snprintf(&dst[pos], max_len - pos, "%.2X ", src[i]); ^~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-tcp.c:169:54: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle->send_event(MBUS_HANDLE_TYPE_TCP, buff, len); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:875:26: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_data_int_decode(m_str, 2, &m_id); ^~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-tcp.c:236:45: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((remaining = mbus_parse(frame, buff, len)) > 0); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:2641:38: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_data_bin_decode(buff, record->data, record->data_len, sizeof(buff)); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:2647:42: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_data_str_decode(buff, record->data, record->data_len); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~^~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~^~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~^~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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)) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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++) ~ ^ ~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1114:36: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *quantity_out = strdup(vib->custom_vif); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:1291:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:1283:36: note: expanded from macro '__strdup' : ({ size_t __len = strlen (s) + 1; \ ^ /usr/include/string.h:394:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1114:36: warning: passing 'unsigned char [128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *quantity_out = strdup(vib->custom_vif); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:1291:32: note: expanded from macro 'strdup' # define strdup(s) __strdup (s) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:1288:17: note: expanded from macro '__strdup' : __strdup (s))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:1278:36: note: passing argument to parameter '__string' here extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3838:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, "&"); ^~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3841:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, "<"); ^~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3844:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, ">"); ^~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3847:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += snprintf(&dst[len], max_len - len, """); ^~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3881:29: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_product_name(header), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3881:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_product_name(header), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3885:29: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_variable_medium_lookup(header->medium), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3885:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_variable_medium_lookup(header->medium), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ 2 warnings generated. /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3939:33: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_function(record), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3939:46: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_function(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1425:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->function_medium, sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1425:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->function_medium, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.h:572:68: note: passing argument to parameter 'src' here/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c :3955:33: warningint mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len);: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ^ mbus_str_xml_encode(str_encoded, mbus_data_record_unit(record), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3955:46: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_record_unit(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1436:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->unit, sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.h/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c::5723960::4229:: notewarning: : passing argument to parameter 'dst' herepassing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); mbus_str_xml_encode(str_encoded, mbus_data_record_value(record), sizeof(str_encoded)); ^ ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3803:36:/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c :note1436: :passing argument to parameter 'dst' here50 : warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len) ^ mbus_str_xml_encode(str_encoded, norm_record->unit, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.h:572:/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c68::3960 :note42: :passing argument to parameter 'src' here warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int mbus_str_xml_encode(unsigned char *dst, const unsigned char *src, size_t max_len); ^ mbus_str_xml_encode(str_encoded, mbus_data_record_value(record), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c ^ :1440:37: warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->quantity, sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1440:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->quantity, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:3904:/home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c115::1450 :warning41: :unused parameter 'header' [-Wunused-parameter] warning: passing 'char [768]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->value.str_val.value, sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.hmbus_data_variable_record_xml(mbus_data_record *record, int record_cnt, int frame_cnt, mbus_data_variable_header *header): 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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:1450:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, norm_record->value.str_val.value, sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4056:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_medium(data), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4056:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_medium(data), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4065:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4065:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4068:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt1_type), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4068:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt1_type), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4084:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4084:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_function(data->status), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4087:29: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt2_type), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4087:42: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_fixed_unit(data->cnt2_type), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4129:25: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_error_lookup(error), sizeof(str_encoded)); ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4129:38: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mbus_str_xml_encode(str_encoded, mbus_data_error_lookup(error), sizeof(str_encoded)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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) ^~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4433:61: note: uninitialized use occurs here __PRETTY_FUNCTION__, (void*)frame, (void*)data); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4429:9: note: remove the '||' if its condition is always false if (frame == NULL || (data = mbus_frame_data_new()) == NULL) ^~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol.c:4426:26: note: initialize the variable 'data' to silence this warning mbus_frame_data *data; ^ = NULL /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-protocol-aux.c:2556:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = strtoul(ptr, (char **)&end, 16); ^~~ /usr/include/stdlib.h:187:58: note: passing argument to parameter '__nptr' here extern unsigned long int strtoul (const char *__restrict __nptr, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-serial.c:268:61: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle->send_event(MBUS_HANDLE_TYPE_SERIAL, buff, len); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/mbus/mbus-serial.c:354:45: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((remaining = mbus_parse(frame, buff, len)) > 0); ^~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/libmbus/20200424/_/_/build/c4e0fbaccfc6985428b092ccc7aa4bcd74617546/src/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); ^ 2 warnings generated. 12 warnings generated. 42 warnings generated. libmbus/20200424: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior