[Top][All Lists]

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

[lwip-devel] [patch #9739] Fix building unit tests

From: Jacob Kroon
Subject: [lwip-devel] [patch #9739] Fix building unit tests
Date: Tue, 1 Jan 2019 14:17:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0


                 Summary: Fix building unit tests
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jkroon
            Submitted on: Tue 01 Jan 2019 07:17:36 PM UTC
                Category: UDP
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



Fix compile of UDP unit test

Fix building unit tests via contrib/ports/unix/check on Debian 9, gcc 6.3.0.

  <snip>/ip_addr.h:105:58: error: the comparison will always valuate as
‘true’ for the address of ‘ip1’ will never be NULL [-Werror=address]
   #define IP_SET_TYPE(ipaddr, iptype)     do { if((ipaddr) != NULL) {
IP_SET_TYPE_VAL(*(ipaddr),iptype); }}while(0)


File Attachments:

Date: Tue 01 Jan 2019 07:17:36 PM UTC  Name:
0001-Fix-compile-of-UDP-unit-test.patch  Size: 2KiB   By: jkroon
suggested patch to fix building unit tests


Reply to this item at:


  Message sent via Savannah

reply via email to

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