diff --git a/common/swig/math.i b/common/swig/math.i index 6e4752fbdd..168b9156f1 100644 --- a/common/swig/math.i +++ b/common/swig/math.i @@ -29,6 +29,8 @@ %ignore VECTOR2::ECOORD_MAX; %ignore VECTOR2::ECOORD_MIN; +#pragma SWIG nowarn=317 + %rename(getWxPoint) operator wxPoint; %rename(getWxSize) operator wxSize; diff --git a/pcbnew/python/swig/pcb_shape.i b/pcbnew/python/swig/pcb_shape.i index 0a24153923..184b4845d6 100644 --- a/pcbnew/python/swig/pcb_shape.i +++ b/pcbnew/python/swig/pcb_shape.i @@ -1,4 +1,5 @@ %ignore EDA_SHAPE::getCenter; +#pragma SWIG nowarn=503 %{ #include diff --git a/pcbnew/python/swig/version.i b/pcbnew/python/swig/version.i index 34678065a2..a2a2d76fe9 100644 --- a/pcbnew/python/swig/version.i +++ b/pcbnew/python/swig/version.i @@ -21,6 +21,9 @@ * @file version.i * @brief KiCad version routine */ + +#pragma SWIG nowarn=305 + %include kicad_build_version.h %pythoncode @@ -28,7 +31,7 @@ def Version(): """Return the semantic version of KiCad""" return KICAD_SEMANTIC_VERSION - + def FullVersion(): """Return the full, git-based version of KiCad""" return KICAD_VERSION_FULL