diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-23 12:52:47 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-02-27 15:51:24 +0000 |
commit | 4c6b1b1a825a01cb64451306bbebd61927442bb0 (patch) | |
tree | e41eb6c3a5c07e52e4173df61cd83b586b578be9 /tests/vbltest | |
parent | 794810d62d49c05a9b06c8570a6b668b4bb0179d (diff) |
autotools: add WARN_CFLAGS to all targets
... minus test/ttmtest. The latter is not really hooked up with the
actual build.
This will give us 66 warnings on a distribution build of which
- 12 -Wunused-variable
- 11 -Wunused-function
- 19 -Wmissing-prototypes
and a few -Wswitch-enum, -Wtype-limits etc.
Adding the CFLAGS gives some exposure to these so that we can fix them.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'tests/vbltest')
-rw-r--r-- | tests/vbltest/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/vbltest/Makefile.am b/tests/vbltest/Makefile.am index 34a35e7d..4d87887a 100644 --- a/tests/vbltest/Makefile.am +++ b/tests/vbltest/Makefile.am @@ -1,6 +1,8 @@ AM_CFLAGS = \ + $(WARN_CFLAGS)\ -I$(top_srcdir)/include/drm \ -I$(top_srcdir) + if HAVE_INSTALL_TESTS bin_PROGRAMS = \ vbltest |