http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51906
--- Comment #27 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-01-31 01:07:40 UTC --- (In reply to comment #24) I've attached the preprocessed source from FSF gcc 4.7 on darwin11 for your proposed pthread test program, as pthread_test.i which would allow you to reproduce the compilation failure I see using... howarth% gcc-fsf-4.7 pthread_test.i pthread_test.c:4:22: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘=’ token pthread_test.c: In function ‘main’: pthread_test.c:9:3: error: unknown type name ‘mutex’ pthread_test.c:10:34: error: request for member ‘m’ in something not a structure or union