Hallo Kevin, > #define TEST_MACRO(structtype, fieldname) \ > struct structtype __dummy; \ > static int foo_function(typeof(_dummy.fieldname) param1, typeof(_dummy.fieldname) > param2); > Unfortunately, this produces "parse error before (" messages. I can use typeof > lots > of other places, but can't seem to use it to define the parameters for a > function. I guess, this is not the complete example, but try to use variable named "__dummy" as defined (not "_dummy"). compilatus