[asterisk-bugs] [JIRA] (ASTERISK-30122) GCC error when compiling Asterisk 18.13.0 with developer tools support

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sun Jul 3 14:37:09 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259608#comment-259608 ] 

Asterisk Team commented on ASTERISK-30122:
------------------------------------------

The severity of this issue has been automatically downgraded from "Blocker" to "Major". The "Blocker" severity is reserved for issues which have been determined to block the next release of Asterisk. This severity can only be set by privileged users. If this issue is deemed to block the next release it will be updated accordingly during the triage process.

> GCC error when compiling Asterisk 18.13.0 with developer tools support
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-30122
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30122
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: 18.13.0
>         Environment: Raspberry Pi 3B+ running Raspbian 11 (Linux kernel 5.10.103-v7+)
>            Reporter: Samuel Rey
>            Severity: Major
>
> When compiling Asterisk 18.13.0, with developer testsuite, the following GCC error is printed, and compilation halts:
> {noformat}
> [CCi] test_mwi.i -> test_mwi.o
> test_mwi.c: In function 'mailbox_to_num':
> test_mwi.c:73:27: error: passing argument 2 of 'ast_str_to_umax' from incompatible pointer type [-Werror=incompatible-pointer-types]
>    73 |  if (ast_str_to_umax(++p, num)) {
>       |                           ^~~
>       |                           |
>       |                           size_t * {aka unsigned int *}
> In file included from test_mwi.c:27:
> /usr/src/asterisk-18.13.0/include/asterisk/conversions.h:134:49: note: expected 'uintmax_t *' {aka 'long long unsigned int *'} but argument is of type 'size_t *' {aka 'unsigned int *'}
>   134 | int ast_str_to_umax(const char *str, uintmax_t *res);
>       |                                      ~~~~~~~~~~~^~~
> cc1: all warnings being treated as errors
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list