clistener.cc
clistener.cc:56:5: warning: 'receiveSignal' is deprecated [-Wdeprecated-declarations]
receiveSignal(c, signalID, checked_int_cast<long>(i,nullptr,msg), d);
^
C:/OM++/omnetpp-6.0.3-windows-x86_64/omnetpp-6.0.3/include/omnetpp/clistener.h:206:7: note: 'receiveSignal' has been
explicitly marked deprecated here
[[deprecated]] virtual void receiveSignal(cComponent *source, simsignal_t signalID, long i, cObject *details);
^
clistener.cc:66:5: warning: 'receiveSignal' is deprecated [-Wdeprecated-declarations]
receiveSignal(c, signalID, checked_int_cast<unsigned long>(i,nullptr,msg), d);
^
C:/OM++/omnetpp-6.0.3-windows-x86_64/omnetpp-6.0.3/include/omnetpp/clistener.h:207:7: note: 'receiveSignal' has been
explicitly marked deprecated here
[[deprecated]] virtual void receiveSignal(cComponent *source, simsignal_t signalID, unsigned long i, cObjec...
^
2 warnings generated.
我运行这个命令
/c/OM++/omnetpp-6.0.3-windows-x86_64/omnetpp-6.0.3$ make
这些是警告,您可以执行 OmNet++,如果您想解决此问题,请将 config.user 文件中的 clang=no 替换到 OmNet++ 目录中。谢谢