[oggvideotools] 02/02: New patch more-compiler-warnings.patch to compile using -Wall and -Wextra.
Petter Reinholdtsen
pere at moszumanska.debian.org
Thu Sep 24 08:37:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository oggvideotools.
commit 40a2a8178f1e4d15ce2adbe1ff45c2194a55424a
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Sep 23 20:30:33 2015 +0000
New patch more-compiler-warnings.patch to compile using -Wall and -Wextra.
---
debian/patches/more-compiler-warnings.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 21 insertions(+)
diff --git a/debian/patches/more-compiler-warnings.patch b/debian/patches/more-compiler-warnings.patch
new file mode 100644
index 0000000..25acf17
--- /dev/null
+++ b/debian/patches/more-compiler-warnings.patch
@@ -0,0 +1,20 @@
+Description: enable more warnings from the compiler
+ Ask the compiler to help us find bugs in the code. When all warnings
+ are cleaned up, it is time to use -Werror to keep it that way.
+Author: Petter Reinholdtsen <pere at hungry.com>
+Forwarded: no
+Last-Update: 2015-09-23
+
+Index: oggvideotools/CMakeLists.txt
+===================================================================
+--- oggvideotools.orig/CMakeLists.txt 2015-09-23 20:23:37.727537878 +0000
++++ oggvideotools/CMakeLists.txt 2015-09-23 20:23:34.071519635 +0000
+@@ -124,6 +124,8 @@
+ ADD_DEFINITIONS ( -D_FILE_OFFSET_BITS=64 )
+ #ADD_DEFINITIONS ( -DDEBUG )
+ #ADD_DEFINITIONS ( -O0 -g )
++ADD_DEFINITIONS ( -Wall -Wextra )
++#ADD_DEFINITIONS ( -Werror )
+
+ INCLUDE_DIRECTORIES ( ${CMAKE_BINARY_DIR} )
+
diff --git a/debian/patches/series b/debian/patches/series
index 428a7fd..083d49b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ version-0.8a-1.patch
mayhem-crash-oggjoin.patch
manual-typos.patch
oggThumb-zero-getopt-long.patch
+more-compiler-warnings.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/oggvideotools.git
More information about the pkg-xiph-commits
mailing list