Skip to content
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

Fix build error in Xcode 9b1 #130

merged 1 commit into from Jun 21, 2017


Copy link

commented Jun 20, 2017

Building this project in Xcode 9b1 generates build errors. I get 4 implicit declaration of function 'pthread_mutex_*' is invalid in C99 and 4 corresponding declaration of 'pthread_mutex_*' must be imported from module 'Darwin.POSIX.pthread' before it is required, one of each of pthread_mutex_init , pthread_mutex_destroy, pthread_mutex_lock, and pthread_mutex_unlock.

The fix I found is to "correct" the import statement at the top of FBKVOController.m. Not sure why this changed.

@nlutsenko nlutsenko added this to the 1.2.1 milestone Jun 21, 2017
@nlutsenko nlutsenko merged commit 1ee5648 into facebook:master Jun 21, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@mrh-is mrh-is deleted the mrh-is:patch-1 branch Jun 21, 2017
rjstelling added a commit to MonikerSonic/KVOController that referenced this pull request Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.