This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51906] thread lock test failures on darwin11 under Xcode 4.2
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 01:07:40 +0000
- Subject: [Bug libstdc++/51906] thread lock test failures on darwin11 under Xcode 4.2
- Auto-submitted: auto-generated
- References: <bug-51906-4@http.gcc.gnu.org/bugzilla/>
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