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

1.13.17: is not gcc 14.x ready #248

Open
kloczek opened this issue Jan 31, 2024 · 0 comments · May be fixed by #249
Open

1.13.17: is not gcc 14.x ready #248

kloczek opened this issue Jan 31, 2024 · 0 comments · May be fixed by #249

Comments

@kloczek
Copy link

kloczek commented Jan 31, 2024

Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.

Build fails with
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/sofia-sip-1.13.17/libsofia-sip-ua/sip'
         LTCOMPILE sip_basic.lo
sip_basic.c: In function 'sip_identity_d':
sip_basic.c:2885:15: warning: assignment discards 'const' qualifier from pointer target type [-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);
      |                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
make[4]: *** [Makefile:1570: sip_basic.lo] Error 1
Lihis added a commit to Lihis/sofia-sip that referenced this issue Feb 19, 2024
@Lihis Lihis linked a pull request Feb 19, 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