From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- Makeconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index dfca7711..b6acd382 100644 --- a/Makeconf +++ b/Makeconf @@ -78,8 +78,8 @@ INCLUDES += -I$(..)include -I$(top_srcdir)/include CPPFLAGS += $(INCLUDES) \ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ $($*-CPPFLAGS) -CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -g -O3 \ - -fno-strict-aliasing $($*-CFLAGS) +CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -Werror=old-style-definition \ + -g -O3 -fno-strict-aliasing $($*-CFLAGS) # Include the configure-generated file of parameters. # This sets up variables for build tools and installation directories. -- cgit v1.2.3