mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
configure: Expand -Werror=format=2
Apparently on at least some GCC versions, we don't get the effect we want of -Werror=format and -Werror=format-nonliteral. https://bugzilla.gnome.org/show_bug.cgi?id=691608
This commit is contained in:
parent
0864e3bd6f
commit
de001225c3
@ -3572,7 +3572,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
||||
-Wall -Wstrict-prototypes -Werror=declaration-after-statement \
|
||||
-Werror=missing-prototypes -Werror=implicit-function-declaration \
|
||||
-Werror=pointer-arith -Werror=init-self -Werror=format-security \
|
||||
-Werror=format=2 -Werror=missing-include-dirs])
|
||||
-Werror=format-nonliteral -Werror=format-y2k -Werror=missing-include-dirs])
|
||||
CFLAGS="$with_cflags $CFLAGS"
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user