From 674597748acf779f962c6c61cf06f67b1e4378f4 Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Thu, 2 Jan 2025 02:34:00 +0800 Subject: [PATCH] change -Wno-maybe-uninitialized to -Wno-uninitialized Signed-off-by: Jade Turner --- .github/workflows/fix_compile_commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fix_compile_commands.py b/.github/workflows/fix_compile_commands.py index 8a52830dea2..2a5acf7dcb8 100755 --- a/.github/workflows/fix_compile_commands.py +++ b/.github/workflows/fix_compile_commands.py @@ -28,6 +28,8 @@ def main(): # error: conflicting types for '_mm_prefetch' [clang-diagnostic-error] if not next_arg.startswith("/usr/lib/gcc/"): out_args += ["-isystem", next_arg] + elif arg == "-Wno-maybe-uninitialized": + out_args += "-Wno-uninitialized" else: out_args.append(arg)