Commit fdf5c7ed authored by Jehan's avatar Jehan

meson: add -Wformat to common cflags.

This fixes the following warning during GIR generation:
> cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security]

And anyway it is useless to set -Wformat-security if -Wformat is not set
as well, so if we want one, let's have both.
parent 557fd172
Pipeline #129125 failed with stages
in 7 minutes and 54 seconds
......@@ -231,6 +231,7 @@ warning_cflags_common = [
'-fdiagnostics-show-option',
'-fno-common',
'-Wformat',
'-Wformat-security',
'-Winit-self',
'-Wlogical-op',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment