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

Not compile with Clang: error: a function declaration without a prototype is deprecated in all versions of C #454

Closed
AngryPenguinPL opened this issue Dec 27, 2022 · 1 comment

Comments

@AngryPenguinPL
Copy link

Hi.

Trying compile Appstream 0.15.6 with Clang 15.0.6 and I see this build error:

../tools/ascli-utils.c:116:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
DEBUG util.py:445:  ascli_print_separator ()
DEBUG util.py:445:                        ^
DEBUG util.py:445:                         void
DEBUG util.py:445:  ../tools/ascli-utils.c:174:26: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
DEBUG util.py:445:  ascli_get_output_colored ()
DEBUG util.py:445:                           ^
DEBUG util.py:445:                            void
DEBUG util.py:445:  2 errors generated.

Full build log: https://file-store.openmandriva.org/api/v1/file_stores/ef7636a4d8595dba2755c043bef76d85fbecb3b7.log?show=true

@ximion ximion closed this as completed in 139ed0f Jan 3, 2023
@ximion
Copy link
Owner

ximion commented Jan 3, 2023

It's fixed now, thank you for the issue report!

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