--- scripts/cmake/common.cmake.orig 2023-03-15 20:35:44.000000000 +0800 +++ scripts/cmake/common.cmake 2025-03-22 11:00:25.000000000 +0800 @@ -79,13 +79,13 @@ endmacro() if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") - add_compiler_flags(-Werror) + #add_compiler_flags(-Werror) add_compiler_flags(-fstrict-aliasing) # The following options are not valid when clang-cl is used. if(NOT MSVC) add_compiler_flags(-pedantic) - add_compiler_flags(-pedantic-errors) + #add_compiler_flags(-pedantic-errors) add_compiler_flags(-fvisibility=hidden) endif() endif()