lwIP - A Lightweight TCP/IP stack - Bugs: bug #34057, socklen_t should be a typedef.
You are not allowed to post comments on this tracker with your current authentication level.
bug #34057: socklen_t should be a typedef.
Submitter: | Brian McFarland <bmcfarland> | ||
Submitted: | Thu 18 Aug 2011 02:06:35 PM UTC | ||
Category: | sockets/netconn | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.4.0 |
Wed 24 Aug 2011 06:26:11 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Thu 18 Aug 2011 02:06:35 PM UTC, original submission:
It seems like "socklen_t", which is #defined in sockets.h should be a typedef, not a #define. I suggest this because a true typedef causes compilers to produce better error messages.
|
Brian McFarland <bmcfarland> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 |
---|---|---|---|---|---|
2011-08-24 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-caa5.
Corresponding source code
Why not...
Changed to a typedef (If your port already typedef's socklen_t, define SOCKLEN_T_DEFINED to prevent sockets.h from redefining it.)