Skip to content

Instantly share code, notes, and snippets.

@SaintZeno
Created May 6, 2019 19:52
Show Gist options
  • Save SaintZeno/fbaa4c9dc53e33b93d39d896d93fd078 to your computer and use it in GitHub Desktop.
Save SaintZeno/fbaa4c9dc53e33b93d39d896d93fd078 to your computer and use it in GitHub Desktop.
> install.packages('hashmap')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/hashmap_0.2.2.tar.gz'
Content type 'application/x-gzip' length 157711 bytes (154 KB)
==================================================
downloaded 154 KB
* installing *source* package ‘hashmap’ ...
** package ‘hashmap’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -DBOOST_NO_INT64_T -DBOOST_NO_INTEGRAL_INT64_T -DBOOST_NO_LONG_LONG -DNO_SPP_LONG_LONG -I../inst/include/hashmap -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/BH/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c HashMapClass.cpp -o HashMapClass.o
In file included from /usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:28:0,
from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/detail/shared_count.hpp:355:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr<Y> & r )
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr<Y> && r )
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/local/lib/R/site-library/BH/include/boost/shared_ptr.hpp:17:0,
from ../inst/include/hashmap/HashMapClass.h:26,
from ../inst/include/hashmap/HashTemplate.hpp:27,
from HashMapClass.cpp:21:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/usr/local/lib/R/site-library/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:52,
from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
from ../inst/include/hashmap/utils.hpp:24,
from ../inst/include/hashmap/traits.hpp:24,
from ../inst/include/hashmap/HashTemplate.hpp:24,
from HashMapClass.cpp:21:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment