This may not be critical but happens a lot with C++ builds:
../dlib/dlib/matrix/../smart_pointers/shared_ptr.h:299:18: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Y>& r
^
In file included from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.3.0/include/c++/5.3.0/memory:81:0,
from /home/linuxbrew/.linuxbrew/Cellar/gcc/5.3.0/include/c++/5.3.0/thread:40,
from seercommon.hpp:20,
from linkFunction.hpp:6,
from logitFunction.cpp:8:
/home/linuxbrew/.linuxbrew/Cellar/gcc/5.3.0/include/c++/5.3.0/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
This may not be critical but happens a lot with C++ builds: