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

openvas fails to compile on clang 15+ #1403

Closed
igalic opened this issue Apr 29, 2023 · 2 comments · Fixed by #1405
Closed

openvas fails to compile on clang 15+ #1403

igalic opened this issue Apr 29, 2023 · 2 comments · Fixed by #1405
Labels
bug Something isn't working

Comments

@igalic
Copy link

igalic commented Apr 29, 2023

despite fixes in #1025 clang 15+ still reports issues. this was originally reported as: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270464

Expected behavior

Build succeeds

Actual behavior

build fails:

misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o -MF misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o.d -o misc/CMakeFiles/openvas_misc_shared.dir/plugutils.c.o -c /wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.0/misc/plugutils.c
/wrkdirs/usr/ports/security/openvas/work/openvas-scanner-22.4.0/misc/plugutils.c:841:22: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
plug_get_key_sigchld ()
                     ^
                      void
1 error generated. 

Steps to reproduce

  1. install llvm 15+
  2. attempt to build
  3. build fails

Environment

Operating system:

see https://portsfallout.com/fallout?port=security%2Fopenvas%24 for all the FreeBSD versions where this fails

@igalic igalic added the bug Something isn't working label Apr 29, 2023
@jjnicola jjnicola mentioned this issue May 2, 2023
2 tasks
@igalic
Copy link
Author

igalic commented May 2, 2023

thanks!

@jjnicola
Copy link
Member

jjnicola commented May 2, 2023

thanks!

Thank you for reporting.
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants