-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pthread_t need to be a scalar to satisfy gcc #2
Comments
This is what I need to change it to |
Hi Martell, I'm sorry but I'm right now completely swamped in a release run where I'm I haven't touched C and pthreads in a while (~ 2-3 years by now), so I'm Anything I write after this line is:
With those caveats said, off we go: WinPthreads is 'special' in that it has to be cross-platform compatible Detail: Windows native APIs, IIRC, produce 64-bit HANDLEs, at least on when you are talking about gcc requiring an uintptr_t, that sounds to me What has me confused during writing and thinking about it right now is that I do seem to recall some old trouble with gcc yakking about pointer So getting out of the deep end and wondering about the higher level
#ifdef GCC4_CX11_SOMETHING style hacks to make it happen on Cx11? On that same subject: what does it mean exactly: 'gcc requires a scalar That's my starting point: my thinking process when I start to attack the
(I bet there is as C has always strives to be backwards compatible, so it And then of course the question nobody would like to ask: why do we use the My 1 cent. I really hope it helps you move forward. Met vriendelijke groeten / Best regards, Ger Hobbelt web: http://www.hobbelt.com/ mobile: +31-6-11 120 978On Mon, Oct 6, 2014 at 6:49 PM, Martell Malone [email protected]
|
Wow that is a really long response. The struct is actually already in pthread.h my diff just removes that and replaces it with uintptr_t gcc or rather libstdc++ requires a variable type so that it can do comparators. The reason I went with uintptr_t is because that is what the mingw-w64 libpthreads does. I am not actually working from pthreads-win32 I'm working of a fork called pthreads-embedded |
remove obnoxious compiler warning; this will declare VERY LONG timeou…
Hi @GerHobbelt,
Would you be able to help me with something.
I want to change pthreads.h pthread_t from a struct to a uintptr_t
As gcc assumes a scalar value for c++11 threading
I don't know how to propagate this change throughout pthread without breaking it :(
and I really need todo this
this is the error gcc will produce
The text was updated successfully, but these errors were encountered: