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

build warnings #93

Open
seven1240 opened this issue Sep 15, 2021 · 0 comments
Open

build warnings #93

seven1240 opened this issue Sep 15, 2021 · 0 comments

Comments

@seven1240
Copy link
Contributor

seven1240 commented Sep 15, 2021

I already fixed some build warnings in #92

the following warnings seems from the new identity change which I'm not sure.

sip_basic.c:2885:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
          uri = pp + 1;
              ^ ~~~~~~
sip_basic.c:2905:40: warning: passing 'msg_param_t **' (aka 'const char ***') to parameter of type 'const msg_param_t **' (aka 'const char *const **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
          if (msg_params_d(home, &ext, &params) >= 0) {
                                       ^~~~~~~
./../msg/sofia-sip/msg_parser.h:280:27: note: passing argument to parameter 'return_params' here
                                  msg_param_t const **return_params);

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

1 participant