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

Failed to compile with gcc 14.0.1 #261

Open
ROBERT-MCDOWELL opened this issue Apr 26, 2024 · 1 comment
Open

Failed to compile with gcc 14.0.1 #261

ROBERT-MCDOWELL opened this issue Apr 26, 2024 · 1 comment

Comments

@ROBERT-MCDOWELL
Copy link

here the error:
sip_basic.c: In function 'sip_identity_d':
sip_basic.c:2885:15: warning: assignment discards 'const' qualifier from pointer target ty pe [-Wdiscarded-qualifiers]
2885 | uri = pp + 1;
| ^
sip_basic.c:2905:40: error: passing argument 3 of 'msg_params_d' from incompatible pointer type [-Wincompatible-pointer-types]
2905 | if (msg_params_d(home, &ext, &params) >= 0) {
| ^~~~~~~
| |
| const char ***
In file included from sofia-sip/sip_parser.h:52,
from sip_basic.c:46:
./../msg/sofia-sip/msg_parser.h:280:55: note: expected 'const char * const**' but argument is of type 'const char ***'
280 | msg_param_t const **return_params);

among other non fatal warnings...

hope this helps.

@nater1983
Copy link

nater1983 commented May 15, 2024

#249 Apply this patch it should work....

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