mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Everywhere: Add -Wdouble-promotion warning
This warning informs of float-to-double conversions. The best solution seems to be to do math *either* in 32-bit *or* in 64-bit, and only to cross over when absolutely necessary.
This commit is contained in:
committed by
Andreas Kling
parent
6606d70826
commit
73dd293ec4
@@ -167,6 +167,7 @@ add_compile_options(-Wcast-align)
|
||||
add_compile_options(-Wcast-qual)
|
||||
add_compile_options(-Wno-deprecated-copy)
|
||||
add_compile_options(-Wduplicated-cond)
|
||||
add_compile_options(-Wdouble-promotion)
|
||||
add_compile_options(-Wno-expansion-to-defined)
|
||||
add_compile_options(-Wformat=2)
|
||||
add_compile_options(-Wimplicit-fallthrough)
|
||||
|
||||
Reference in New Issue
Block a user