Skip to content

Fix build with clang 15#225

Open
botovq wants to merge 1 commit into
BelledonneCommunications:masterfrom
botovq:llvm-15
Open

Fix build with clang 15#225
botovq wants to merge 1 commit into
BelledonneCommunications:masterfrom
botovq:llvm-15

Conversation

@botovq
Copy link
Copy Markdown

@botovq botovq commented Feb 10, 2023

The -Wstrict-prototype got stricter with clang 15. This causes build failures due to two missing void.

/tmp/pobj/liblinphone-5.1.56/liblinphone-5.1.56/console/linphonec.c:968:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
linphonec_idle_call ()
                    ^
                     void

The -Wstrict-prototype got stricter with clang 15. This causes build
failures due to two missing void.

```
/tmp/pobj/liblinphone-5.1.56/liblinphone-5.1.56/console/linphonec.c:968:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
linphonec_idle_call ()
                    ^
                     void
```
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 this pull request may close these issues.

2 participants