[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] How serious is GCC "cast increases requiered alignment of target type" warning?



Hi,

On Tuesday 25 May 2010, Ole Loots wrote:
> Hello, I'm getting the warning: cast increases requiered alignment of
> target type when compiling code for 32bpp graphics surface... As I know
> old 68000 CPU's did throw an exception when accessing unalgined memory,
> I'm in doubt if I should care... the prduced binary should be used with
> Coldfire / 68030 CPU (which allows unalgined memory access?), so I
> believe I can ignore this warning, or is it fatal to ignore it?

Next question is, is unaligned access slower (like it's on other platforms)?
If yes, you might still want to fix it. :-)


	- Eero