Describe the bug
gcc の C++ デフォルトは c++14 なので、 c++98 を前提としているコードで警告がでる。
To Reproduce
cmake
make
Reproducibility
100%
Expected behavior
サポートする C++ バージョンを明確にし、言語仕様に従ったコードとなること。
Screenshots or Logs
/root/OpenRTM-aist/src/lib/rtm/PortBase.cpp: In member function 'const string RTC::PortBase::getUUID() const':
/root/OpenRTM-aist/src/lib/rtm/PortBase.cpp:779:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<coil::UUID> uuid(uugen.generateUUID(2, 0x01));
^
Environment
OS: Ubuntu16.04
OpenRTM-aist Version master (b50148a6459561d34297bf45fc9d58dcd8a6e7a8 など)
Describe the bug gcc の C++ デフォルトは c++14 なので、 c++98 を前提としているコードで警告がでる。
To Reproduce
Reproducibility 100%
Expected behavior サポートする C++ バージョンを明確にし、言語仕様に従ったコードとなること。
Screenshots or Logs
Environment
Additional context