From 611f07c8d0cb1b5fd1ed650c91e977981f1ea431 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 16 Jan 2017 11:30:18 -0200 Subject: [PATCH] Removendo warnings. --- src/actions.cc | 1 - src/private.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/actions.cc b/src/actions.cc index 5d8aebe..e7cf448 100644 --- a/src/actions.cc +++ b/src/actions.cc @@ -34,7 +34,6 @@ #include "private.h" - /*---[ Implement ]----------------------------------------------------------------------------------*/ PyObject * terminal_pfkey(PyObject *self, PyObject *args) { diff --git a/src/private.h b/src/private.h index 4ee6733..d7deb39 100644 --- a/src/private.h +++ b/src/private.h @@ -34,7 +34,11 @@ // http://stackoverflow.com/questions/28683358/error-hypot-has-not-been-declared-in-cmath-while-trying-to-embed-python #include + // https://lists.gt.net/python/dev/340073 + #pragma GCC diagnostic push + #pragma GCC system_header #include + #pragma GCC diagnostic pop #include #include -- libgit2 0.21.2