I get error messages related to "-Werror=deprecated-declarations".
Here is the first one:
$ cmake -D CMAKE_INSTALL_PREFIX=/usr/local/ocio ~/git/github/OpenColorIO -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 ...
/home/jan/git/github/OpenColorIO/ociobuild/ext/dist/include/yaml-cpp/parser.h:46:8: error: ‘template<class> class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations] std::auto_ptr<Scanner> m_pScanner; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from /usr/include/c++/7/tr1/memory:39, from /home/jan/git/github/OpenColorIO/ociobuild/export/OpenColorABI.h:63, from /home/jan/git/github/OpenColorIO/export/OpenColorIO/OpenColorIO.h:38, from /home/jan/git/github/OpenColorIO/src/core/OCIOYaml.cpp:31: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ In file included from /home/jan/git/github/OpenColorIO/ociobuild/ext/dist/include/yaml-cpp/yaml.h:8:0, from /home/jan/git/github/OpenColorIO/src/core/OCIOYaml.cpp:75: