mirror of https://github.com/GNOME/gimp.git
if supported, add -Wformat-security and -Wformat-non-literal to the
2008-12-23 Sven Neumann <sven@gimp.org> * configure.in: if supported, add -Wformat-security and -Wformat-non-literal to the compiler flags. svn path=/trunk/; revision=27826
This commit is contained in:
parent
a7798936f0
commit
c7dfb8bd55
|
@ -1,3 +1,8 @@
|
|||
2008-12-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* configure.in: if supported, add -Wformat-security and
|
||||
-Wformat-non-literal to the compiler flags.
|
||||
|
||||
2008-12-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/batch.c
|
||||
|
|
|
@ -345,6 +345,12 @@ CFLAGS="$CFLAGS $extra_warnings"
|
|||
GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-format-attribute')
|
||||
CFLAGS="$CFLAGS $extra_warnings"
|
||||
|
||||
GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-security')
|
||||
CFLAGS="$CFLAGS $extra_warnings"
|
||||
|
||||
GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-non-literal')
|
||||
CFLAGS="$CFLAGS $extra_warnings"
|
||||
|
||||
|
||||
# Ensure MSVC-compatible struct packing convention is used when
|
||||
# compiling for Win32 with gcc.
|
||||
|
|
Loading…
Reference in New Issue