mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
build: Enable -Wfloat-conversion by default
GLib now compiles without emitting any float conversion warnings, so let’s keep it that way. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3405
This commit is contained in:
parent
e35cfef509
commit
692a50b78e
@ -551,6 +551,7 @@ endforeach
|
||||
if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||
warning_common_args = [
|
||||
'-Wduplicated-branches',
|
||||
'-Wfloat-conversion',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wmissing-field-initializers',
|
||||
|
Loading…
Reference in New Issue
Block a user