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

compilation warning #11

Open
Maxime2 opened this issue Apr 15, 2024 · 0 comments · May be fixed by #12
Open

compilation warning #11

Maxime2 opened this issue Apr 15, 2024 · 0 comments · May be fixed by #12

Comments

@Maxime2
Copy link

Maxime2 commented Apr 15, 2024

$ make
cc -Wall -fPIC -ansi -pedantic   -c -o pam_oauth2.o pam_oauth2.c
pam_oauth2.c: In function ‘pam_sm_authenticate’:
pam_oauth2.c:195:12: warning: ISO C90 forbids variable length array ‘ct’ [-Wvla]
  195 |     struct check_tokens ct[argc];
      |            ^~~~~~~~~~~~
cc -shared pam_oauth2.o -lcurl -o pam_oauth2.so
@Maxime2 Maxime2 linked a pull request Apr 15, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant