Closed r-kurose closed 5 years ago
追加です。
538044 /root/OpenRTM-aist/src/lib/rtm/../rtm/MultilayerCompositeEC.h:153:13: warning: 'RTC_exp::MultilayerCompositeEC::ChildTask' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
782632 /root/OpenRTM-aist/src/lib/rtm/../rtm/MultilayerCompositeEC.h:153:13: warning: 'RTC_exp::MultilayerCompositeEC::ChildTask' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
1763120 /root/OpenRTM-aist/src/lib/rtm/../rtm/EventBase.h:25:9: warning: 'RTC::EventBinderBase0' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
1835294 /root/OpenRTM-aist/src/lib/rtm/../rtm/EventBase.h:25:9: warning: 'RTC::EventBinderBase0' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
1835794 /root/OpenRTM-aist/src/lib/rtm/../rtm/EventBase.h:25:9: warning: 'RTC::EventBinderBase0' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
1839500 :/root/OpenRTM-aist/src/lib/coil/common/coil/Properties.h31::110928::9 :warning : note'RTC::EventBinderBase1<RTC::TimedLong>' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]:
1901178 'RTC::EventBinderBase0' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1908003 :In file included from /root/OpenRTM-aist/src/lib/rtm/../rtm/RTC.hwarning:: 62'RTC::EventBinderBase0' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]:
1909304 /root/OpenRTM-aist/src/lib/rtm/../rtm/EventBase.h:31:28: warning: inline ServiceProfileList* _retn() { ServiceProfileList* tmp = _pd_seq; _pd_seq = 0; return tmp; }'RTC::EventBinderBase1<RTC::TimedLong>' has virtual functions but non-virtual destructor [-Wnon-vir
tual-dtor]
Describe the bug C++ の未定義動作である不完全型の delete に依存している。
To Reproduce
Reproducibility 100%
Expected behavior 未定義動作ないこと。コンパイラに未定義動作を認識されないこと。
Screenshots or Logs
Environment
Additional context none