IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#71 closed defect (fixed)

Word alignment: machine-dependent

Reported by: Paul Price Owned by: robert.desonia@…
Priority: high Milestone:
Component: sys Version: unspecified
Severity: minor Keywords:
Cc:

Description

#define ALIGNED(P) ((void *)((long)(P) & ~03) == (P))

This test for memory alignment is machine- and compiler-dependent.

Change History (2)

comment:1 by robert.desonia@…, 22 years ago

Resolution: fixed
Status: newclosed

Removed the alignment checking code, as it is not a requirement. Compile will
align the allocations automagically on Linux (as well as many other UNIX-ish
systems) and no code exists to guarentee any alignment on other systems anyway.

comment:2 by Paul Price, 22 years ago

Verified in rel2.

Note: See TracTickets for help on using tickets.