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

Watchman.c return error during installation #308

Closed
suborx opened this issue Sep 10, 2017 · 3 comments
Closed

Watchman.c return error during installation #308

suborx opened this issue Sep 10, 2017 · 3 comments

Comments

@suborx
Copy link

suborx commented Sep 10, 2017

Setup: Ubuntu 16.04, Ruby 2.4.1, RVM, Vim 8 (with ruby support)
Issue: During compilation I get this error.

compiling watchman.c
watchman.c: In function ‘watchman_raise_system_call_error’:
watchman.c:546:6: warning: function might be candidate for attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
void watchman_raise_system_call_error(int number) {
^
watchman.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
linking shared-object ext.so

I also installed watchman, but it didn't solve the probelm.

Can you please help?

@wincent
Copy link
Owner

wincent commented Sep 11, 2017

Is I gather it worked but with warnings?

@suborx
Copy link
Author

suborx commented Sep 11, 2017

Thank you for reply. Problem is solved, suddenly it start working when I install and run watchman.

@suborx suborx closed this as completed Sep 11, 2017
@wincent
Copy link
Owner

wincent commented Sep 11, 2017

Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants