In C++ and Objective-C++ "typedef struct {} name" should give you exactly same behavior as "struct name {};" Only in C and Objective-C they are not the same.
You should start with exact error message and contents of file where it happens (what place, what includes/imports you have, etc..). There's no point of guessing it - otherwise you are wasting everyone's time.
And to be correct - you want to throw out your Apple computer, not PC :)