[x265] [PATCH 3/3] AArch64: Compile intrinsics files with -Werror

Jean-Baptiste Kempf jb at videolan.org
Tue Aug 20 17:51:59 UTC 2024


This is a bad idea. Don’t do that, except in your debut builds.

On Tue, 20 Aug 2024, at 19:42, Hari Limaye wrote:
> 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 at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
> Attachments:
> * 0003-AArch64-Compile-intrinsics-files-with-Werror.patch

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734
https://jbkempf.com/


More information about the x265-devel mailing list