lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Compiler Warnings for LWIP_PLATFORM_DIAG


From: Robert Deschambault
Subject: [lwip-users] Compiler Warnings for LWIP_PLATFORM_DIAG
Date: Wed, 14 Jan 2015 16:46:53 -0500

Hi,

I am trying to use the latest sources from master branch in one of my projects.  I had previously been using the v1.4.1 code.

I am getting many compiler warnings that seem to be tied to: LWIP_PLATFORM_DIAG.  Here is a sample:

compiling api_lib.c...
C:\work\exp_lm_g2_cmsis-rtos\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c(474): warning:  #223-D: function "LWIP_PLATFORM_DIAG" declared implicitly
    LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_recv_data: received %p, len=%"U16_F"\n", buf, len));
C:\work\exp_lm_g2_cmsis-rtos\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c(474): warning:  #174-D: _expression_ has no effect
    LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_recv_data: received %p, len=%"U16_F"\n", buf, len));
C:\work\exp_lm_g2_cmsis-rtos\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c(474): warning:  #174-D: _expression_ has no effect
    LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_recv_data: received %p, len=%"U16_F"\n", buf, len));
C:\work\exp_lm_g2_cmsis-rtos\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c(629): warning:  #223-D: function "LWIP_PLATFORM_DIAG" declared implicitly
    LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_send: sending %"U16_F" bytes\n", buf->p->tot_len));
C:\work\exp_lm_g2_cmsis-rtos\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c(629): warning:  #174-D: _expression_ has no effect
    LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_send: sending %"U16_F" bytes\n", buf->p->tot_len));
..\Libraries\OpenSource\lwip-master-6ca8bc4\src\api\api_lib.c: 5 warnings, 0 errors

Am I missing a header or missed a define somewhere?

Thanks,
Bob

--
Bob Deschambault
6614 Astro Court, Mississauga
Ontario, Canada L5N 7J2
home: 905 824 7159
cell: 416 457 7163
twitter: @rdeschambault
1Fm3QkinyqiMbpnvSZMLM1AyjBvbuYeTBE

reply via email to

[Prev in Thread] Current Thread [Next in Thread]