Message ID | 20250107220229.156201-3-crwood@redhat.com |
---|---|
State | New |
Headers | show |
Series | rt-tests: -Wno-unused-parameter and -Werror | expand |
On Tue, 7 Jan 2025, Crystal Wood wrote: > Now that the most obvious nuisance warnings have been disabled, don't let > the actual bad stuff slip in. > > Signed-off-by: Crystal Wood <crwood@redhat.com> > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index dda29c3..26acffe 100644 > --- a/Makefile > +++ b/Makefile > @@ -33,7 +33,7 @@ prefix ?= /usr/local > bindir ?= $(prefix)/bin > mandir ?= $(prefix)/share/man > > -CFLAGS ?= -Wall -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter > +CFLAGS ?= -Wall -Werror -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter > CPPFLAGS += -D_GNU_SOURCE -Isrc/include > LDFLAGS ?= > > -- > 2.47.1 > > > Signed-off-by: John Kacur <jkacur@gmail.com>
diff --git a/Makefile b/Makefile index dda29c3..26acffe 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ prefix ?= /usr/local bindir ?= $(prefix)/bin mandir ?= $(prefix)/share/man -CFLAGS ?= -Wall -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter +CFLAGS ?= -Wall -Werror -Wno-nonnull -Wextra -Wno-sign-compare -Wno-unused-parameter CPPFLAGS += -D_GNU_SOURCE -Isrc/include LDFLAGS ?=
Now that the most obvious nuisance warnings have been disabled, don't let the actual bad stuff slip in. Signed-off-by: Crystal Wood <crwood@redhat.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)