[rhythmbox] add -Wno-deprecated-declarations to CFLAGS for development builds
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] add -Wno-deprecated-declarations to CFLAGS for development builds
- Date: Sun, 11 Mar 2012 12:36:31 +0000 (UTC)
commit 362b701f43d3b29a1a85055cfb46acdd8563a8be
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Mar 11 22:27:32 2012 +1000
add -Wno-deprecated-declarations to CFLAGS for development builds
Other people don't care about deprecations and shouldn't have to
deal with them.
https://bugzilla.gnome.org/show_bug.cgi?id=671706
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2676efc..ed58197 100644
--- a/configure.ac
+++ b/configure.ac
@@ -539,7 +539,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wcast-align -Wformat-security -Wall \
- -Werror -std=gnu89"
+ -Werror -Wno-deprecated-declarations -std=gnu89"
if echo "$CFLAGS" | grep -q -- '-O' && echo "$CFLAGS" | grep -q -v -- '-O0'; then
WARN_CFLAGS="-Wuninitialized $WARN_CFLAGS"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]