Opened on 04/03/13 at 11:56:49
Closed on 04/15/14 at 08:48:51
#2112 closed defect (fixed)
<sys/queue.h> is broken
Reported by: | Sebastian Huber | Owned by: | Ralf Corsepius |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | tool/newlib | Version: | 4.11 |
Severity: | normal | Keywords: | |
Cc: | joel.sherrill@… | Blocked By: | |
Blocking: |
Description
The STAILQ_LAST() macro uses offsetof() which is undefined.
In Newlib with have:
libc/sys/rtems/sys/queue.h
libc/include/sys/queue.h
Why do we have a RTEMS specific queue.h?
If nobody objects I will propose to the Newlib list:
- An updated "libc/include/sys/queue.h" based on the latest FreeBSD version. I will replace offsetof with offsetof from <stddef.h>.
- Remove the RTEMS specific "libc/sys/rtems/sys/queue.h".
Change History (4)
comment:1 Changed on 04/03/13 at 12:01:24 by Joel Sherrill
Cc: | Joel Sherrill added |
---|
comment:2 Changed on 04/15/14 at 08:48:51 by Sebastian Huber
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed on 11/22/14 at 12:37:26 by Gedare Bloom
Milestone: | → 4.11 |
---|
comment:4 Changed on 11/23/14 at 15:50:06 by Gedare Bloom
Version: | unknown → 4.11 |
---|
Set version based on title name, these seem obviously to only affect 4.11
Note: See
TracTickets for help on using
tickets.
Fixed with Newlib 2.1.0.