THRIFT-3260 multiple warnings in c_glib tutorial
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
This closes #572
Tutorial:
- Silence unused-function warnings
- Remove spurious ";" from GObject type macro
Compiler:
- Suppress unused-var warnings in client initializers
- Omit spurious ";" after GObject type macros
diff --git a/tutorial/c_glib/Makefile.am b/tutorial/c_glib/Makefile.am
index 1862f1b..565f635 100755
--- a/tutorial/c_glib/Makefile.am
+++ b/tutorial/c_glib/Makefile.am
@@ -46,6 +46,8 @@
libtutorialgencglib_la_LIBADD = \
$(top_builddir)/lib/c_glib/libthrift_c_glib.la
+libtutorialgencglib_la_CFLAGS = \
+ $(AM_CFLAGS) -Wno-unused-function
noinst_PROGRAMS = \
tutorial_server \