Add -Werror when compiling AArch64 intrinsics files to ensure that the code is free from compiler warnings. --- source/common/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)
diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt index 47b23bcd2..6b4b25618 100644 --- a/source/common/CMakeLists.txt +++ b/source/common/CMakeLists.txt @@ -136,6 +136,7 @@ if(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64)) endif() source_group(Assembly FILES ${ASM_PRIMITIVES}) + set_source_files_properties(${ASM_PRIMITIVES} PROPERTIES COMPILE_FLAGS -Werror) endif(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64)) if(POWER) -- 2.42.1
>From 0d23dcaaecc886588700789fd52d71b5b803a3fb Mon Sep 17 00:00:00 2001 Message-ID: <0d23dcaaecc886588700789fd52d71b5b803a3fb.1724175503.git.hari.lim...@arm.com> In-Reply-To: <cover.1724175503.git.hari.lim...@arm.com> References: <cover.1724175503.git.hari.lim...@arm.com> From: Hari Limaye <hari.lim...@arm.com> Date: Mon, 26 Feb 2024 10:06:10 +0000 Subject: [PATCH 3/3] AArch64: Compile intrinsics files with -Werror Add -Werror when compiling AArch64 intrinsics files to ensure that the code is free from compiler warnings. --- source/common/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/CMakeLists.txt b/source/common/CMakeLists.txt index 47b23bcd2..6b4b25618 100644 --- a/source/common/CMakeLists.txt +++ b/source/common/CMakeLists.txt @@ -136,6 +136,7 @@ if(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64)) endif() source_group(Assembly FILES ${ASM_PRIMITIVES}) + set_source_files_properties(${ASM_PRIMITIVES} PROPERTIES COMPILE_FLAGS -Werror) endif(ENABLE_ASSEMBLY AND (ARM64 OR CROSS_COMPILE_ARM64)) if(POWER) -- 2.42.1
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel