[Lazarus] ARM-WinCE test - DBF

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon May 19 18:04:32 CEST 2008


On Sat, May 17, 2008 at 4:06 PM,  <cc_ at freemail.hu> wrote:
> I probably do not see the depth of the problem, and this seems to be just
> too easy, but for me this should be done on the compiler level: how about a
> compiler switch which forces the compiler to "think" as if the  "unaligned"
> keyword was there at  the potentially  problematic assignments.  FPC and
> Lazarus aims to have a single source for all platforms, and this is broken
> if you have to change the source for ARM.

Probably Yuri should answer that. I am not sure, but I think that the
problem is that alignment check is very slow. Maybe it could be done
with a compiler directive, so that you can choose to have slower, but
safer, code, or if you want to manually control all places where
potential unalignment may occur and have maximum speed. This is better
discussed in the fpc-devel mailling list.

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list