From cbf609295643f37ca7e6beb90e2496d94ddab274 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Thu, 12 Jun 2014 13:18:26 +0200 Subject: [PATCH] pytream : add pragma to remove warning - usual char * in python --- triqs/python_tools/py_stream.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;