Commit 611f07c8d0cb1b5fd1ed650c91e977981f1ea431

Authored by Perry Werneck
1 parent acabe898
Exists in master

Removendo warnings.

Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
src/actions.cc
@@ -34,7 +34,6 @@ @@ -34,7 +34,6 @@
34 34
35 #include "private.h" 35 #include "private.h"
36 36
37 -  
38 /*---[ Implement ]----------------------------------------------------------------------------------*/ 37 /*---[ Implement ]----------------------------------------------------------------------------------*/
39 38
40 PyObject * terminal_pfkey(PyObject *self, PyObject *args) { 39 PyObject * terminal_pfkey(PyObject *self, PyObject *args) {
@@ -34,7 +34,11 @@ @@ -34,7 +34,11 @@
34 // http://stackoverflow.com/questions/28683358/error-hypot-has-not-been-declared-in-cmath-while-trying-to-embed-python 34 // http://stackoverflow.com/questions/28683358/error-hypot-has-not-been-declared-in-cmath-while-trying-to-embed-python
35 #include <cmath> 35 #include <cmath>
36 36
  37 + // https://lists.gt.net/python/dev/340073
  38 + #pragma GCC diagnostic push
  39 + #pragma GCC system_header
37 #include <Python.h> 40 #include <Python.h>
  41 + #pragma GCC diagnostic pop
38 42
39 #include <lib3270/config.h> 43 #include <lib3270/config.h>
40 #include <pw3270/class.h> 44 #include <pw3270/class.h>