summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-06-27 20:30:47 +0700
committerhathach <[email protected]>2022-06-27 20:30:47 +0700
commit9c56f7011171ff649a821fe87a3ee477299fa860 (patch)
treed0fdbecaae4bafddba344b24d2fec8da18f5f9b7 /examples/device
parentdd7a17c34511e79bc259634f4fa157e7ddf98fd1 (diff)
suppress error with net example
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/net_lwip_webserver/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/device/net_lwip_webserver/CMakeLists.txt b/examples/device/net_lwip_webserver/CMakeLists.txt
index beaa9ad99..0f41b888a 100644
--- a/examples/device/net_lwip_webserver/CMakeLists.txt
+++ b/examples/device/net_lwip_webserver/CMakeLists.txt
@@ -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