Fix compilation warnings
- Work around
_POSIX_C_SOURCE
and_XOPEN_SOURCE redefined
warnings - Fix gcc7 deprecation warning exposed by gaudi/Gaudi!408 (merged)
- Suppress compilation warnings from Python
N.B. This could also be cherry picked to run2-patches
and 2018-patches
, it is backwards compatible
Edited by Marco Cattaneo