From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.89]) by gnuweeb.org (Postfix) with ESMTPSA id 2C2F88191C; Mon, 19 Dec 2022 15:50:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671465048; bh=3KScUysxnhrfiadv4/f41SW2hPuPIQ2i6Q69sW6VId4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mdnmOzVZKktJSC5JwmXZNJkj9/++Jmbg/ifsKuB3+YC5AOEZFwXUsUiaFe+xHG6G8 rdUdJ9rKksCMdxxHv59fYEkSGkYhOBZipZ/DEWiS+exJMFm7Z3WK43YZz/3Czfrssb u0LAzPumHG0FqlxfME5IXcLZCphs9O3PLgJs2+t7OchZvYAikn/MEQI2Ul574Bku9m qGzLeUeajx4BzcnXLQVyBhJR3Z4sUISM6yqusuhPcAyseVEYgV1fwsflgTjjQXffjO UZAmh/bh56qFKXxGeGEGLbKB25rLLBU048BxVd2Wo/BlHFH+R+gKxlehw5qdQwNBpG +1VyLtuRGpvOA== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , Muhammad Rizki , VNLX Kernel Department , GNU/Weeb Mailing List , io-uring Mailing List Subject: [PATCH liburing v1 7/8] github: Add more extra flags for clang build Date: Mon, 19 Dec 2022 22:49:59 +0700 Message-Id: <20221219155000.2412524-8-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221219155000.2412524-1-ammar.faizi@intel.com> References: <20221219155000.2412524-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Add these 4 flags: -Wstrict-prototypes -Wunreachable-code-loop-increment -Wunreachable-code -Wmissing-variable-declarations for stricter clang build. Signed-off-by: Ammar Faizi --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c0bd26..c2aa3e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,21 +20,21 @@ jobs: cc: x86_64-linux-gnu-gcc cxx: x86_64-linux-gnu-g++ # x86-64 clang - arch: x86_64 cc_pkg: clang cxx_pkg: clang cc: clang cxx: clang++ liburing_extra_flags: -Wshorten-64-to-32 - extra_flags: -Wmissing-prototypes + extra_flags: -Wmissing-prototypes -Wstrict-prototypes -Wunreachable-code-loop-increment -Wunreachable-code -Wmissing-variable-declarations # x86 (32-bit) gcc - arch: i686 cc_pkg: gcc-i686-linux-gnu cxx_pkg: g++-i686-linux-gnu cc: i686-linux-gnu-gcc cxx: i686-linux-gnu-g++ # aarch64 gcc - arch: aarch64 -- Ammar Faizi