From f54dd468ec93fbd0ed03eda3fa60bc39bce9ffdb Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 12 Jun 2019 19:16:40 +0200 Subject: [PATCH] lib/clippy: ignore -Wstrict-aliasing This warning is both meaningless and unfixable, just ignore it. Signed-off-by: David Lamparter --- lib/command_py.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/command_py.c b/lib/command_py.c index 58b7982665..1554af172f 100644 --- a/lib/command_py.c +++ b/lib/command_py.c @@ -321,6 +321,7 @@ static struct PyModuleDef pymoddef_clippy = { } while (0) #endif +#pragma GCC diagnostic ignored "-Wstrict-aliasing" PyMODINIT_FUNC command_py_init(void) { PyObject *pymod; -- 2.39.5