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

pinfo-0.6.13 build failure due to "-Werror" #10

Open
stefantalpalaru opened this issue Apr 21, 2019 · 1 comment
Open

pinfo-0.6.13 build failure due to "-Werror" #10

stefantalpalaru opened this issue Apr 21, 2019 · 1 comment

Comments

@stefantalpalaru
Copy link

With gcc-8.3.0:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -D_XOPEN_SOURCE=600  -Wall -Wextra -Wshadow -Werror -DLOCALEDIR=\"/usr/share/locale\" -DCONFIGDIR=\"/etc/pinforc\" -O3 -march=native -mlwp -pipe -D_BSD_SOURCE -D_DEFAULT_SOURCE  -D_XOPEN_SOURCE=600 -c -o pinfo-utils.o `test -f 'utils.c' || echo './'`utils.c
utils.c: In function ‘getstring_with_completion’:
utils.c:372:62: error: unused parameter ‘completions’ [-Werror=unused-parameter]
 getstring_with_completion(char *prompt, const char * const * completions)
                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
Copy link
Contributor

This only happens when building without readline enabled.

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