autotools: add WARN_CFLAGS to all targets
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Feb 2015 12:52:47 +0000 (12:52 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Feb 2015 15:51:24 +0000 (15:51 +0000)
commit4c6b1b1a825a01cb64451306bbebd61927442bb0
treee41eb6c3a5c07e52e4173df61cd83b586b578be9
parent794810d62d49c05a9b06c8570a6b668b4bb0179d
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>
Makefile.am
tests/Makefile.am
tests/exynos/Makefile.am
tests/kmstest/Makefile.am
tests/modeprint/Makefile.am
tests/proptest/Makefile.am
tests/radeon/Makefile.am
tests/tegra/Makefile.am
tests/vbltest/Makefile.am