diff --git a/triqs/python_tools/py_stream.cpp b/triqs/python_tools/py_stream.cpp index 41b48b69..6feeb6ac 100644 --- a/triqs/python_tools/py_stream.cpp +++ b/triqs/python_tools/py_stream.cpp @@ -22,6 +22,9 @@ #include "./py_stream.hpp" #include "../utility/exceptions.hpp" +#pragma clang diagnostic ignored "-Wdeprecated-writable-strings" +#pragma GCC diagnostic ignored "-Wwrite-strings" + namespace triqs { using py_tools::pyref;