From c4c8ea26d3085a088110d7f5555aa3925adf6841 Mon Sep 17 00:00:00 2001 From: neverchanje Date: Tue, 30 Mar 2021 17:16:12 +0800 Subject: [PATCH] fix: compilation errors on clang-9 --- bin/dsn.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dsn.cmake b/bin/dsn.cmake index de661d4fbe..7f4f908989 100644 --- a/bin/dsn.cmake +++ b/bin/dsn.cmake @@ -206,9 +206,9 @@ function(dsn_setup_compiler_flags) # -Wno-deprecated-register # kbr5.h uses the legacy 'register' keyword. add_compile_options(-Wno-deprecated-register) - # -Wimplicit-int-float-conversion + # -Wno-implicit-float-conversion # Poco/Dynamic/VarHolder.h uses 'unsigned long' to 'float' conversion - add_compile_options(-Wno-implicit-int-float-conversion) + add_compile_options(-Wno-implicit-float-conversion) find_program(CCACHE_FOUND ccache) if(CCACHE_FOUND)