MakeEvent not compiling with sanitizer enabled
Our master branch does no longer compile on my virtual machine (Ubuntu 22.04, aarch64, gcc 13.1.0):
In file included from /home/parallels/repos/ns-3-dev/src/core/model/simulator.h:25,
from /home/parallels/repos/ns-3-dev/src/core/model/unix-fd-reader.cc:25:
/home/parallels/repos/ns-3-dev/src/core/model/make-event.h: In lambda function:
/home/parallels/repos/ns-3-dev/src/core/model/make-event.h:163:22: error: ‘<anonymous>’ may be used uninitialized [-Werror=maybe-uninitialized]
163 | m_function)(args...);
| ^~~~~~~~~~
/home/parallels/repos/ns-3-dev/src/core/model/make-event.h:163:22: note: ‘<anonymous>’ was declared here
163 | m_function)(args...);
| ^~~~~~~~~~
cc1plus: all warnings being treated as errors
Edited by Sébastien Deronne