]> xenbits.xensource.com Git - libvirt.git/commitdiff
examples: enable all compiler warnings
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 2 Apr 2019 10:00:13 +0000 (11:00 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 5 Apr 2019 14:33:36 +0000 (15:33 +0100)
Now that all the examples are warning free, keep it that way by enabling
all the normal compiler warning flags.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
examples/Makefile.am

index b590a148ceaac12cb8eee47071d3e5f214bc0832..ee7d3e6b2c055d7d44260ce9045eb5b014c3ec9c 100644 (file)
@@ -28,7 +28,8 @@ EXTRA_DIST = \
 
 
 AM_CPPFLAGS = \
-       -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)
+       -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir) \
+       $(WARN_CFLAGS)
 LDADD = $(STATIC_BINARIES) $(WARN_CFLAGS) \
        $(top_builddir)/src/libvirt.la \
        $(top_builddir)/src/libvirt-admin.la