You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/01/21 00:07:52 UTC

[13/50] git commit: TS-1996: disable deprecation warnings for the rfc5861 plugin

TS-1996: disable deprecation warnings for the rfc5861 plugin

The RFC5861 plugin still uses the deprecated TSHttpTxnNewCacheLookupDo()
API. Turn off -Wdeprecated until this plugin can use a different
API.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/f1b52700
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/f1b52700
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/f1b52700

Branch: refs/heads/5.0.x
Commit: f1b5270034e3582a0e7cda9e1ba75929920f7a46
Parents: 11d7b18
Author: James Peach <jp...@apache.org>
Authored: Fri Jan 10 16:45:51 2014 -0800
Committer: James Peach <jp...@apache.org>
Committed: Fri Jan 10 16:45:56 2014 -0800

----------------------------------------------------------------------
 plugins/experimental/rfc5861/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/f1b52700/plugins/experimental/rfc5861/Makefile.am
----------------------------------------------------------------------
diff --git a/plugins/experimental/rfc5861/Makefile.am b/plugins/experimental/rfc5861/Makefile.am
index d878858..bc5e7ab 100644
--- a/plugins/experimental/rfc5861/Makefile.am
+++ b/plugins/experimental/rfc5861/Makefile.am
@@ -16,6 +16,10 @@
 
 include $(top_srcdir)/build/plugins.mk
 
+# Don't warn on usage of the deprecated TSHttpTxnNewCacheLookupDo() API.
+AM_CXXFLAGS = \
+  -Wno-deprecated
+
 pkglib_LTLIBRARIES = rfc5861.la
 rfc5861_la_SOURCES = rfc5861.c
 rfc5861_la_LDFLAGS = $(TS_PLUGIN_LDFLAGS)