On Thu, 16 Sep 2010 00:50:07 -0700
J Decker wrote:
[...]
> > int main(void)
> > {
> > void *(*func)(void **);
> > func;
> strange that this does anything... since it also requires a pointer to
> a pointer...
I think the compiler is right: "func" is a pointer to a function.
Since the () op
nc;
strange that this does anything... since it also requires a pointer to
a pointer...
> return 1;
> }
>
> compiles just fine
>
> i do realize that i'm depending on dialect-specific features, so i don't
> even know if this is supported on my gcc as of version 4.
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
..
i do realize that i'm depending on dialect-specific features, so i don't
even know if this is supported on my gcc as of version 4.3.3. if it's not a
dialect problem, then this stumps me even more.
--
View this message in context:
http://old.nabble.com/array-of-pointer-to-function-sup