suppress error with net example

This commit is contained in:
hathach
2022-06-27 20:30:47 +07:00
parent dd7a17c345
commit 9c56f70111
3 changed files with 7 additions and 4 deletions
@@ -76,6 +76,8 @@ if (EXISTS ${TOP}/lib/lwip/src)
target_compile_options(${PROJECT} PUBLIC
-Wno-error=null-dereference
-Wno-error=conversion
-Wno-error=sign-conversion
-Wno-error=sign-compare
)
# Configure compilation flags and libraries for the example... see the corresponding function
+2 -1
View File
@@ -113,7 +113,8 @@ CFLAGS += \
-Wunused \
-Wredundant-decls
# -Wconversion \
# conversion is too strict for most mcu driver, may be disable sign/int/arith-conversion
# -Wconversion
# Debugging/Optimization
ifeq ($(DEBUG), 1)