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 34  
35 35 #include "private.h"
36 36  
37   -
38 37 /*---[ Implement ]----------------------------------------------------------------------------------*/
39 38  
40 39 PyObject * terminal_pfkey(PyObject *self, PyObject *args) {
... ...
src/private.h
... ... @@ -34,7 +34,11 @@
34 34 // http://stackoverflow.com/questions/28683358/error-hypot-has-not-been-declared-in-cmath-while-trying-to-embed-python
35 35 #include <cmath>
36 36  
  37 + // https://lists.gt.net/python/dev/340073
  38 + #pragma GCC diagnostic push
  39 + #pragma GCC system_header
37 40 #include <Python.h>
  41 + #pragma GCC diagnostic pop
38 42  
39 43 #include <lib3270/config.h>
40 44 #include <pw3270/class.h>
... ...