Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix: compilation errors on clang-9 (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Tao authored Mar 30, 2021
1 parent 72c207b commit f508428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/dsn.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f508428

Please sign in to comment.