From ec9119611ae09c0d667380cf9b096193eacd243c Mon Sep 17 00:00:00 2001 From: aleph Date: Thu, 21 Apr 2011 16:56:42 +0000 Subject: [PATCH] sam3x tcpserver example: fix warning when building the example. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4866 38d2e660-2303-0410-9eaa-f027e97ec537 --- .../examples/sam3x-ek_tcp_server/sam3x-ek_tcp_server_user.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/sam3x-ek/examples/sam3x-ek_tcp_server/sam3x-ek_tcp_server_user.mk b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/sam3x-ek_tcp_server_user.mk index 89bfa987..038cc071 100644 --- a/boards/sam3x-ek/examples/sam3x-ek_tcp_server/sam3x-ek_tcp_server_user.mk +++ b/boards/sam3x-ek/examples/sam3x-ek_tcp_server/sam3x-ek_tcp_server_user.mk @@ -37,9 +37,11 @@ sam3x-ek_tcp_server_USER_CPPAFLAGS = \ # # Flags included by the user. +# -Wno-cast-qual silences warnings from using lwip constants sam3x-ek_tcp_server_USER_CPPFLAGS = \ -Os \ -fno-strict-aliasing \ + -Wno-cast-qual \ -fwrapv \ # -- 2.25.1