Просмотр исходного кода

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
Stefan Kerkmann 4 лет назад
Родитель
Сommit
ddb83787a0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      examples/make.mk

+ 2 - 2
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)