[asterisk-bugs] [JIRA] (ASTERISK-26138) chan_unistim: Under FreeBSD, chan_unistim generates a compile error

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jun 23 08:56:57 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-26138:
-------------------------------------

    Target Release Version/s: 13.10.0

> chan_unistim:  Under FreeBSD, chan_unistim generates a compile error
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-26138
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26138
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_unistim
>    Affects Versions: SVN, 13.9.1
>         Environment: FreeBSD 10
> gcc 4.8.5
>            Reporter: George Joseph
>            Severity: Trivial
>      Target Release: 13.10.0
>
>
> Under FreeBSD, chan_unistim generates a compile error: 
> {noformat}
>    [CC] chan_unistim.c -> chan_unistim.o
> chan_unistim.c: In function 'get_to_address':
> chan_unistim.c:1024:36: error: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to remove the addressof? [-Werror=sizeof-pointer-memaccess]
>   memcpy(&toAddr, &public_ip, sizeof(&toAddr));
> {noformat}
>                                     ^



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



More information about the asterisk-bugs mailing list