Re: Problems with function pointers on arm-elf (cortex-m3)

2008-12-15 Thread Richard Earnshaw
On Mon, 2008-12-15 at 10:00 +0100, Markus Barenhoff wrote: > Hi, > > I've a problem with a array of void*, with different versions of arm-elf-gcc. > Tried it with 4.3.1 and with current HEAD 4.4.0 from CVS.. Problem seems to > exists von both versions. I've created a small example of it: > >

Problems with function pointers on arm-elf (cortex-m3)

2008-12-15 Thread Markus Barenhoff
Hi, I've a problem with a array of void*, with different versions of arm-elf-gcc. Tried it with 4.3.1 and with current HEAD 4.4.0 from CVS.. Problem seems to exists von both versions. I've created a small example of it: snip void a(void); void (**v)(void) = { &a }; int main() {