diff --git a/src/lib/ephysics/ephysics_body.cpp b/src/lib/ephysics/ephysics_body.cpp index eddfbfbee9..43a6d2728f 100644 --- a/src/lib/ephysics/ephysics_body.cpp +++ b/src/lib/ephysics/ephysics_body.cpp @@ -4,9 +4,15 @@ #include #include + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wshadow" + #include #include +#pragma GCC diagnostic pop + #include #include "ephysics_private.h" diff --git a/src/lib/ephysics/ephysics_private.h b/src/lib/ephysics/ephysics_private.h index 1f888ca88d..36ece8c678 100644 --- a/src/lib/ephysics/ephysics_private.h +++ b/src/lib/ephysics/ephysics_private.h @@ -7,6 +7,7 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wshadow" #include #include