From 432d03d1aab8472a0813c34a7f0e2e1a2c585d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 2 Sep 2021 11:04:47 +0200 Subject: [PATCH] Use -Wextra-semi instead of -Wextra-semi-stmt for stricter warnings --- CMake/MiscFunctions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/MiscFunctions.cmake b/CMake/MiscFunctions.cmake index 5fb3c4f7..7548f287 100644 --- a/CMake/MiscFunctions.cmake +++ b/CMake/MiscFunctions.cmake @@ -45,7 +45,7 @@ function(add_warnings_to_targets targets) "-Wglobal-constructors" "-Wmissing-noreturn" "-Wparentheses" - "-Wextra-semi-stmt" + "-Wextra-semi" "-Wunreachable-code" "-Wstrict-aliasing" "-Wreturn-std-move"