Skip to content

Commit 6dd9c54

Browse files
committed
enable -Wdouble-promotion by default
1 parent 8d8dde4 commit 6dd9c54

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build-scripts/warnings.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ else ()
2020
$<$<COMPILE_LANGUAGE:C>:-Wincompatible-pointer-types>
2121
$<$<COMPILE_LANGUAGE:C>:-Wimplicit-function-declaration>
2222
)
23+
add_compile_options (
24+
-Wdouble-promotion
25+
)
2326
# waivers
2427
add_compile_options (
2528
-Wno-unused

0 commit comments

Comments
 (0)