#784 closed defect (fixed)

BYTE_PACK used in header files but not defined

Reported by: Eric Norum Owned by: Eric Norum
Priority: highest Milestone: 2
Component: network/legacy Version: unknown
Severity: critical Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

netinet/tcp.h has been modified to use BYTE_PACK but doesn't define it.

Should the code from net/if_arp.h:
#ifdef rtems
#define BYTE_PACK attribute((packed))
#endif

be copied to the other places wher BYTE_PACK is used?
Also, I think that there should be an '#else' clause to provide an empty BYTE_PACK in the non-rtems case?
And, is rtems the correct conditional? Isn't this actually a GCC extension?

Release:
CVS trunk

Environment:
All targets which use networking

Change History (1)

comment:1 Changed on Aug 2, 2005 at 11:20:57 AM by Ralf Corsepius

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: BYTE_PACK has been removed from cvs HEAD

Note: See TracTickets for help on using tickets.