8000 src/flock.c:223:2: error: implicit declaration of function ‘flock’ [-Werror=implicit-function-declaration] · Issue #7 · discoteq/flock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

src/flock.c:223:2: error: implicit declaration of function ‘flock’ [-Werror=implicit-function-declaration] #7

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

Closed
josephholsten opened this issue Dec 18, 2015 · 1 comment

Comments

@josephholsten
Copy link
Contributor

on debian 8.2.2, getting

vagrant@debian-jessie:~/flock-0.2.0$ make
make  all-am
make[1]: Entering directory '/home/vagrant/flock-0.2.0'
  CC       src/flock.o
src/flock.c: In function ‘main’:
src/flock.c:223:2: error: implicit declaration of function ‘flock’ [-Werror=implicit-function-declaration]
  while (0 != flock(fd, type | block)) {
  ^
src/flock.c:223:2: error: nested extern declaration of ‘flock’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
Makefile:657: recipe for target 'src/flock.o' failed
make[1]: *** [src/flock.o] Error 1
make[1]: Leaving directory '/home/vagrant/flock-0.2.0'
Makefile:540: recipe for target 'all' failed
make: *** [all] Error 2
@josephholsten
Copy link
Contributor Author

fixed in v0.2.1

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

1 participant
0