ANSI C -> non-ANSI C

lsalomo lsalomo at hubcap.clemson.edu
Sun Dec 2 10:30:49 AEST 1990


Help!

I'm trying to define a typedef for a function pointer which takes an integer
for a parm.

typedef (void *pfn)(int);

I'm using gcc, which gives a parse error.  Of course, I should ask this in
one of the gcc newsgroups, but I'm thinking it is the way the line is written.

Can anyone help (and ASAP!  I'm working on a compiler project!)

Cheers,
Q - the "Q"uestor for knowledge (, a degree, etc.)

lsalomo at hubcap.clemson.edu
ibmman at clemson.clemson.edu
=============================================================================
"Gee Wally, I think there's something wrong with the Beaver."
=============================================================================



More information about the Comp.lang.c mailing list