Commit c7dfb8bd authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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
parent a7798936
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.
......
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