Commit 611f07c8d0cb1b5fd1ed650c91e977981f1ea431
1 parent
acabe898
Exists in
master
Removendo warnings.
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
src/actions.cc
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> | ... | ... |