[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 |
URL:
<https://savannah.nongnu.org/patch/?9739>
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
_______________________________________________________
Details:
Fix compile of UDP unit test
Fix building unit tests via contrib/ports/unix/check on Debian 9, gcc 6.3.0.
Fixes:
<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
<http://savannah.nongnu.org/patch/download.php?file_id=45830>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9739>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [patch #9739] Fix building unit tests,
Jacob Kroon <=