Building with clang caused some compiler warnings. Fix, suppress or work around them. Thomas Haller (8): netlink: avoid "-Wenum-conversion" warning in dtype_map_from_kernel() netlink: avoid "-Wenum-conversion" warning in parser_bison.y src: use "%zx" format instead of "%Zx" datatype: avoid cast-align warning with struct sockaddr result from getaddrinfo() src: rework SNPRINTF_BUFFER_SIZE() and avoid "-Wunused-but-set-variable" src: suppress "-Wunused-but-set-variable" warning with "parser_bison.c" utils: add _NFT_PRAGMA_WARNING_DISABLE()/_NFT_PRAGMA_WARNING_REENABLE helpers datatype: suppress "-Wformat-nonliteral" warning in integer_type_print() include/utils.h | 73 ++++++++++++++++++++++++++++++++++++++++------ src/Makefile.am | 1 + src/datatype.c | 22 ++++++++++---- src/evaluate.c | 11 ++++--- src/intervals.c | 10 +++---- src/meta.c | 10 +++---- src/netlink.c | 2 +- src/parser_bison.y | 4 +-- 8 files changed, 99 insertions(+), 34 deletions(-) -- 2.41.0