diff mbox series

[2/3] rt-tests: Enable -Werror

Message ID 20250107220229.156201-3-crwood@redhat.com
State New
Headers show
Series rt-tests: -Wno-unused-parameter and -Werror | expand

Commit Message

Crystal Wood Jan. 7, 2025, 10:02 p.m. UTC
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(-)

Comments

John Kacur Jan. 14, 2025, 10:39 p.m. UTC | #1
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 mbox series

Patch

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 ?=