This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new fc5351b4b Fix coremark/core_util.c:210:17: error: a function
declaration without a prototype is deprecated in all versions of C
[-Werror,-Wstrict-prototypes]
fc5351b4b is described below
commit fc5351b4b930879a0d7d9f3710e6fad81ee536dd
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Sep 11 07:53:30 2023 +0800
Fix coremark/core_util.c:210:17: error: a function declaration without a
prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Xiang Xiao <[email protected]>
---
benchmarks/coremark/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/benchmarks/coremark/Makefile b/benchmarks/coremark/Makefile
index 21aede4a6..2274d0373 100644
--- a/benchmarks/coremark/Makefile
+++ b/benchmarks/coremark/Makefile
@@ -39,7 +39,7 @@ VPATH += $(COREMARK_UNPACKNAME)$(DELIM)posix
DEPPATH += --dep-path $(COREMARK_UNPACKNAME)
DEPPATH += --dep-path $(COREMARK_UNPACKNAME)$(DELIM)posix
-CFLAGS += -Wno-undef
+CFLAGS += -Wno-strict-prototypes -Wno-undef
ifeq ($(CONFIG_COREMARK_MULTITHREAD_OVERRIDE),y)
COREMARK_NTHREADS = $(CONFIG_COREMARK_MULTITHREAD_COUNT)