title: Error : ‘template<class> class std::auto_ptr’ is deprecated
body: <p>I'm using scons and ubuntu.
  When i when i make some program in using 'scons', there happen error like,</p>
  
  <blockquote>
    <p>src/db/DBTextLoader.cc:296:3: error: ‘template class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations]</p>
    
    <p>/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
       template class auto_ptr;</p>
  </blockquote>
  
  <p>and this is my command;</p>
  
  <blockquote>
    <p>$ ./configuer</p>
    
    <p>$ source something.sh</p>
    
    <p>$ scons</p>
  </blockquote>
  
  <p>Actually, I don't have any idea. I'm already searching this site and google. But I didn't find solution.</p>
  
  <p>this is my g++ version (and c++ also was same version.)</p>
  
  <blockquote>
    <p>g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609</p>
  </blockquote>
  
  <p>have any idea?
  Thank you.</p>