From a0954dbb073a1a680d54aa545a22d5c7f0e5fee1 Mon Sep 17 00:00:00 2001 From: wangxp006 Date: Mon, 27 Apr 2026 22:16:07 +0800 Subject: [PATCH] Switch to -std=gnu89 and suppress C90 mixed declaration warnings --- UnixBench/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnixBench/Makefile b/UnixBench/Makefile index 3169c03..71889fc 100644 --- a/UnixBench/Makefile +++ b/UnixBench/Makefile @@ -119,7 +119,7 @@ endif ## generic gcc CFLAGS. -DTIME must be included. -CFLAGS += -Wall -pedantic $(OPTON) -I $(SRCDIR) -DTIME +CFLAGS += -Wall -pedantic $(OPTON) -I $(SRCDIR) -DTIME -std=gnu89 -Wno-declaration-after-statement ##############################################################################