ANT_39: K tomuhle me napadla jeste nasledujici prasarnicka:
#define NAMED(X) __attribute__ ((unused)) struct __##X##_struct_t X
#define DEFNAMED(X) struct __##X##_struct_t {} X
DEFNAMED(withColor);
int drawPointAt (int x, int y, NAMED(withColor), unsigned color) {
// ...
return 0;
}
int main(int argc, char *argv[]) {
return drawPointAt (10, 20, withColor, 100);
}