Closed
Description
- Version of collectd: 5.9.1
Expected behavior
compiles fine
Actual behavior
CCLD hugepages.la
CC src/intel_rdt_la-intel_rdt.lo
In file included from src/utils/common/common.h:33,
from src/intel_rdt.c:32:
In function ‘strlisttoarray’,
inlined from ‘oconfig_to_ngroups’ at src/intel_rdt.c:424:11,
inlined from ‘rdt_config_ngroups’ at src/intel_rdt.c:516:7,
inlined from ‘rdt_config’ at src/intel_rdt.c:1149:16,
inlined from ‘rdt_config’ at src/intel_rdt.c:1100:12:
./src/daemon/plugin.h:394:20: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
394 | #define ERROR(...) plugin_log(LOG_ERR, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/intel_rdt.c:328:7: note: in expansion of macro ‘ERROR’
328 | ERROR(RDT_PLUGIN ": Duplicated process name \'%s\' in group \'%s\'",
| ^~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:7116: src/intel_rdt_la-intel_rdt.lo] Error 1
make[1]: Leaving directory '/home/mrunge/work/collectd'
make: *** [Makefile:4892: all] Error 2
Steps to reproduce
- Use master branch
- ./configure --enable-intel-rdt
- make
Metadata
Metadata
Assignees
Labels
No labels