安装 OMNET++ 时出现问题。运行 mingenv 文件后。我运行 make 命令,但收到此错误,但不知道这意味着什么

问题描述 投票:0回答:1
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

network-programming simulation omnet++
1个回答
0
投票

这些是警告,您可以执行 OmNet++,如果您想解决此问题,请将 config.user 文件中的 clang=no 替换到 OmNet++ 目录中。谢谢

© www.soinside.com 2019 - 2024. All rights reserved.