This list is really for the development of GCC, not for getting help in C.

That said ...

On Sep 15, 2010, at 11:15 PM, ir_idjit wrote:

> but whatever i do it i just can't get it to work....
> code:
> 
> some_header.h:
> static void *(*oper_table)(void **);

That's a pointer to a function taking a pointer to pointer to void and 
returning a pointer to void. If you want a pointer to pointer to function 
(which you need in order to point at an array of function pointers) you should 
declare it like this:

static void *(**oper_table)(void **);

Of course, that's still stupid. The correct way to declare it is this:

typedef void *(*operation)(void **);
static operation *oper_table;

Sebastian

Reply via email to