Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 598620 Details for
Bug 695644
www-client/seamonkey-2.49.5 : /.../platform.h:68:21: error: pid_t gettid() was declared extern and later static [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for gettid in glibc 2.30
glibc-2.30-gettid.patch (text/plain), 754 bytes, created by
Stephen Cavilia
on 2019-12-06 04:01:28 UTC
(
hide
)
Description:
patch for gettid in glibc 2.30
Filename:
MIME Type:
Creator:
Stephen Cavilia
Created:
2019-12-06 04:01:28 UTC
Size:
754 bytes
patch
obsolete
>--- a/mozilla/tools/profiler/core/platform.h 2019-11-25 10:49:40.678940150 -0500 >+++ b/mozilla/tools/profiler/core/platform.h 2019-11-25 10:50:36.148831703 -0500 >@@ -65,10 +65,7 @@ > #include <unistd.h> > #if !defined(__BIONIC__) > #include <sys/syscall.h> >-static inline pid_t gettid() >-{ >- return (pid_t) syscall(SYS_gettid); >-} >+#define gettid() static_cast<pid_t>(syscall(SYS_gettid)) > #endif > #endif > >--- a/mozilla/tools/profiler/core/GeckoSampler.cpp 2019-11-25 11:23:14.022397528 -0500 >+++ b/mozilla/tools/profiler/core/GeckoSampler.cpp 2019-11-25 11:27:43.539905660 -0500 >@@ -67,7 +67,7 @@ > > #if defined(LINUX) || defined(XP_MACOSX) > #include <sys/types.h> >-pid_t gettid(); >+// pid_t gettid(); > #endif > > #if defined(__arm__) && defined(ANDROID)
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 695644
:
591078
|
591080
|
591082
|
591084
|
591086
|
591088
|
591090
| 598620