This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51906] thread lock test failures on darwin11 under Xcode 4.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]