Created attachment 504526 [details] build log Lots of: In file included from rsyslog.h:634:0, from rsyslog.c:66: debug.h:134:44: error: 'pdbgFuncDB' undeclared here (not in a function) int dbgCALLStaCK_POP_POINT = dbgEntrFunc(&pdbgFuncDB, __FILE__, __func__, __LINE__); ^ debug.h:134:66: warning: '__func__' is not defined outside of function scope int dbgCALLStaCK_POP_POINT = dbgEntrFunc(&pdbgFuncDB, __FILE__, __func__, __LINE__); ^ debug.h:146:66: error: expected declaration specifiers or '...' before string constant dbgprintf("%s:%d: %s: log point\n", __FILE__, __LINE__, __func__); ^ debug.h:146:12: error: expected declaration specifiers or '...' before string constant dbgprintf("%s:%d: %s: log point\n", __FILE__, __LINE__, __func__); ^ debug.h:129:46: note: in definition of macro 'dbgprintf' #define dbgprintf(...) r_dbgprintf(__FILE__, __VA_ARGS__)
Confirmed, thanks for the report.
This was fixed in >=app-admin/rsyslog-8.32.0. Thanks for the report!