FreeBSD Bugzilla – Attachment 201820 Details for
Bug 235583
clang error builtin-requires-header on pthread_create on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disables -Werror,-Wbuiltin-requires-header on powerpc64
include_pthread.h.patch (text/plain), 762 bytes, created by
Alfredo Dal'Ava Junior
on 2019-02-07 18:30:01 UTC
(
hide
)
Description:
Disables -Werror,-Wbuiltin-requires-header on powerpc64
Filename:
MIME Type:
Creator:
Alfredo Dal'Ava Junior
Created:
2019-02-07 18:30:01 UTC
Size:
762 bytes
patch
obsolete
>Index: include/pthread.h >=================================================================== >--- include/pthread.h (revision 343834) >+++ include/pthread.h (working copy) >@@ -209,9 +209,18 @@ > int pthread_cond_wait(pthread_cond_t * __restrict, > pthread_mutex_t * __restrict __mutex) > __requires_exclusive(*__mutex); >+#ifdef __powerpc64__ >+#pragma clang diagnostic push >+#pragma clang diagnostic ignored "-Wbuiltin-requires-header" >+#endif > int pthread_create(pthread_t * __restrict, > const pthread_attr_t * __restrict, void *(*) (void *), > void * __restrict); >+#ifdef __powerpc64__ >+#pragma clang diagnostic pop >+#endif >+ >+ > int pthread_detach(pthread_t); > int pthread_equal(pthread_t, pthread_t); > void pthread_exit(void *) __dead2;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235583
: 201820