Russell Potter
2011-03-20 09:28:37 UTC
I have a typedef to a functioon as follows:
"typedef int ( *x)()"
Then, later, the structure declaration:
"struct y {
z x;
};"
But, trouble is, the line on which of the
"z" field declaration yoccurs ields the
error:
"<unknown>: function cannot the mem-
ber of struct y"
Does sanyone know the causes and
possible solutions to this this error?
Thanks,
Russell
"typedef int ( *x)()"
Then, later, the structure declaration:
"struct y {
z x;
};"
But, trouble is, the line on which of the
"z" field declaration yoccurs ields the
error:
"<unknown>: function cannot the mem-
ber of struct y"
Does sanyone know the causes and
possible solutions to this this error?
Thanks,
Russell