patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9739, Fix building unit tests

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9739: Fix building unit tests

Submitter:  Jacob Kroon <jkroon>
Submitted:  Tue 01 Jan 2019 07:17:36 PM UTC
   
 
Category:  UDP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Thu 03 Jan 2019 06:10:52 AM UTC, comment #1: 

Pushed, thanks!

Dirk Ziegelmeier <dziegel>
Group administrator
Tue 01 Jan 2019 07:17:36 PM UTC, original submission:  

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)

Jacob Kroon <jkroon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #45830:  0001-Fix-compile-of-UDP-unit-test.patch added by jkroon (2KiB - text/x-patch - suggested patch to fix building unit tests)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by jkroon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-03 dziegel StatusNone Done
        Open/ClosedOpen Closed
    2019-01-01 jkroon Attached File- Added 0001-Fix-compile-of-UDP-unit-test.patch, #45830

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code