Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Re: For C Experts

2006-03-30 by Ed Koffeman

If your compiler has the __packed keyword then you could use:

__packed int *ip;

...

    ip = (__packed int *)&buf[i];

and the compiler should know to treat the alignment carefully.

But, it's inefficient.

Ed Koffeman

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.