From f5084283e91f73ae1bea50ad722ccd20561c76a7 Mon Sep 17 00:00:00 2001 From: Wu Tao Date: Tue, 30 Mar 2021 04:54:40 -0500 Subject: [PATCH] fix: compilation errors on clang-9 (#806) --- 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)