[libcalamares] Reduce warnings with Clang 9 (Boost::Python)

- The boost headers fall foul of tons of Clang warnings, so introduce
   a mechanism like moc-headers for turning off most of those warnings.
This commit is contained in:
Adriaan de Groot 2019-11-26 17:24:55 +01:00
parent 2e22bdd7dc
commit ac75c63001
4 changed files with 24 additions and 0 deletions

View file

@ -26,8 +26,13 @@
#include <QFileInfo>
#undef slots
#include "utils/boost-warnings.h"
#include <boost/python.hpp>
#ifdef __clang__
#pragma clang diagnostic pop
#endif
namespace bp = boost::python;
namespace CalamaresPython