Re: [Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Øyvind Harboe
On Tue, Sep 7, 2010 at 5:19 AM, Antonio Borneo wrote: > On Tue, Sep 7, 2010 at 6:28 AM, Øyvind Harboe wrote: >> These warnings are for architectures that do not >> support non-aligned word access. > > Hello Øyvind, > > I personally do not like such approach to silent compiler warnings. > Passing

Re: [Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Antonio Borneo
On Tue, Sep 7, 2010 at 6:28 AM, Øyvind Harboe wrote: > These warnings are for architectures that do not > support non-aligned word access. Hello Øyvind, I personally do not like such approach to silent compiler warnings. Passing through a (void *) removes any compiler check, opening the door for

[Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Øyvind Harboe
These warnings are for architectures that do not support non-aligned word access. Signed-off-by: Øyvind Harboe --- src/flash/mflash.c |4 ++-- src/flash/nand/lpc3180.c |4 ++-- src/flash/nor/at91sam3.c |4 ++-- src/helper/types.h |2 +- src/pld/virtex2.c|2