"cast increases required alignment of target type"
- From: "DGG" <tong.yin@xxxxxxxxxxxxx>
- Date: 29 Sep 2005 02:58:10 -0700
Hi,
I am porting some code across hardware platform.
I got the following warning using the cygming compiler
warning: cast increases required alignment of target type
I believe this can, say, cast a byte-aligned pointer to a
integer-aligned pointer, which can break for stricter processors.
Does anyone have experience in casting around byte-alignments and can
give me some suggestion/pointer?
Thanks
.
- Follow-Ups:
- Prev by Date: Re: JTAG debuggers - a couple of questions
- Next by Date: newbie probs with ARM7 eb40a eval board (Hitex Tantino)
- Previous by thread: Adjust volume after TI PCM1742 DAC?
- Next by thread: Re: "cast increases required alignment of target type"
- Index(es):
Relevant Pages
|