-
Notifications
You must be signed in to change notification settings - Fork 126
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
[build] Issue with 32-bit build (i686) #185
Comments
Issue #197 also includes solutions. Apologies for duplicating. |
So, |
pthread_t is an abstract type. It can be, quite literally, anything. |
Well the options are to avoid the cast altogether:
See This would require OS X specific code to handle the
and
finally,
where
and
Although this information is really recent, it appears that the storage class is a (2) Move to C++11 (or boost::thread)and use |
I'm trying to build vogl on an i686 Ubuntu 14.04 machine
So, pulling from
vogl/master
(making sure I'm up to date):Build Error:
This issue arises because (/usr/include/stdint.h):
Now pthread_t (/usr/include/i386-linux-gnu/bits/pthreadtypes.h):
I believe that
unsigned long int
in this case is the same type asunsigned int
(i386) - thus the reinterpret_cast<> is invalid. I can write up a simple fix (just surprised that no one else has stumbled on this) - however I feel that I should report this first.Edit: improved formatting and fixed a few small mistakes
The text was updated successfully, but these errors were encountered: