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

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Jun 22 18:53:56 CDT 2016


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

George Joseph closed ASTERISK-26138.
------------------------------------


> 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
>
> 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