From: aleph Date: Thu, 21 Apr 2011 16:56:42 +0000 (+0000) Subject: sam3x tcpserver example: fix warning when building the example. X-Git-Tag: 2.7.0~100 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ec9119611ae09c0d667380cf9b096193eacd243c;p=bertos.git 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 --- 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 \ #