gimp r27826 - trunk
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27826 - trunk
- Date: Tue, 23 Dec 2008 12:24:44 +0000 (UTC)
Author: neo
Date: Tue Dec 23 12:24:44 2008
New Revision: 27826
URL: http://svn.gnome.org/viewvc/gimp?rev=27826&view=rev
Log:
2008-12-23 Sven Neumann <sven gimp org>
* configure.in: if supported, add -Wformat-security and
-Wformat-non-literal to the compiler flags.
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Tue Dec 23 12:24:44 2008
@@ -345,6 +345,12 @@
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]