From ddb83787a00c20db8f92b00dc78c8c1ee972c489 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Sat, 10 Jul 2021 11:21:24 +0200 Subject: [PATCH] Disable -Werror for now Without having __riscv_flen defined we get multiple warinings. But defining it causes the startup code to contain floating point instructions. This results in a exception right after booting. See startup_gd32vf103.S lines 289-294 should open a PR at nuclei sdk --- examples/make.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/make.mk b/examples/make.mk index 9daf60e35..70ce77b41 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -91,7 +91,6 @@ CFLAGS += \ -Wstrict-overflow \ -Wall \ -Wextra \ - -Werror \ -Wfatal-errors \ -Werror-implicit-function-declaration \ -Wfloat-equal \ @@ -102,7 +101,8 @@ CFLAGS += \ -Wmissing-format-attribute \ -Wunreachable-code \ -Wcast-align \ - -Wcast-function-type + -Wcast-function-type \ + # -Werror disable for now\ # Debugging/Optimization ifeq ($(DEBUG), 1)