Re: [PATCH v2] add DEVELOPER makefile knob to check for acknowledged warnings
larsxschneider@gmail.com writes:
Show 18 quoted lines
> --- a/Makefile
> +++ b/Makefile
> @@ -380,6 +380,18 @@ ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
> ALL_LDFLAGS = $(LDFLAGS)
> STRIP ?= strip
>
> +ifdef DEVELOPER
> + CFLAGS += -Werror \
> + -Wdeclaration-after-statement \
> + -Wno-format-zero-length \
> + -Wold-style-definition \
> + -Woverflow \
> + -Wpointer-arith \
> + -Wstrict-prototypes \
> + -Wunused \
> + -Wvla
> +endif
> +
I guess you have tab-width=4. This portion looks ugly with tab-width=8.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/