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

-Werror=unused-function #1

Closed
simonvcodes opened this issue Apr 26, 2017 · 1 comment
Closed

-Werror=unused-function #1

simonvcodes opened this issue Apr 26, 2017 · 1 comment

Comments

@simonvcodes
Copy link

Hello,

i found this project via https://github.com/adrienverge/openfortivpn which i tried first.
I am working with debian testing and when running make I still get the following
CC src/openfortivpn-io.o \n src/io.c:49:22: error: ‘thread_id’ defined but not used [-Werror=unused-function] static unsigned long thread_id() ^~~~~~~~~\n src/io.c:42:13: error: ‘lock_callback’ defined but not used [-Werror=unused-function] static void lock_callback(int mode, int type, char *file, int line) ^~~~~~~~~~~~~ cc1: all warnings being treated as errors\n Makefile:516: die Regel für Ziel „src/openfortivpn-io.o“ scheiterte make: *** [src/openfortivpn-io.o] Fehler 1
Do I have to make further changes to the debian/rules file to make debian treat the warning in a "non-error-way"? Any help is well appreciated

@DimitriPapadopoulos
Copy link
Owner

What are you trying to do here?

A Debian package is in the works elsewhere:
adrienverge/openfortivpn#81

I wasn't very happy when someone else stepped in and took over the Debian package, bypassing Debian rules in the process and discarding all of my existing work. But then that means less work for me :-)

This is repo is obsolete. I'll discard it at some point.

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