The following program produces a compiler error (Arduino 0011 alpha):
struct foo{
int a;
int b;
};
typedef struct foo FOO;
FOO myvar[21];
FOO *myFunct(){}
void setup(){}
void loop(){}
ERROR is: error: expected constructor, destructor, or type conversion before '*' token
If I change
<FOO *myFunct(){}>
to
<struct foo *myfunct(){}> it compiles just fine.
Mike...
mikeasl@mac.com