[tao-bugs] tao c++11 std::auto_ptr deprecated
    Ville (Reppu ja Reissumies) 
    ville at reppujareissumies.fi
       
    Tue Mar 21 10:38:01 CDT 2017
    
    
  
Hello,
noticed a minor issue that when c++11 is activated in TAO using projects 
gcc produces warnings
about std::auto_ptr being deprecated.
ACE_wrappers/TAO/tao/AnyTypeCode/Any_Dual_Impl_T.cpp:169:3: warning: 
‘template<class> class std::auto_ptr’ is deprecated 
[-Wdeprecated-declarations]
Obviously it can be suppressed or should I instead try building it 
altogether with
ACE_LACKS_AUTO_PTR?
Kind Regards
Ville Vaittinen
P.S. Another minor thing seen, no idea if the compiler suggestion would 
be valid in that use case
ACE_OS::mktemp(char*)':
ACE_wrappers/ace/OS_NS_stdlib.inl:284: warning: the use of `mktemp' is 
dangerous, better use `mkstemp'
    
    
More information about the tao-bugs
mailing list