[asterisk-bugs] [JIRA] (ASTERISK-28536) Asterisk release candidates fail to build on FreeBSD
Guido Falsi (JIRA)
noreply at issues.asterisk.org
Sat Sep 14 10:09:47 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248012#comment-248012 ]
Guido Falsi commented on ASTERISK-28536:
----------------------------------------
This is the actual error message I get:
chan_dahdi.c:15268:4: error: statement requires expression of integer type ('pthread_t' (aka 'struct pthread *') invalid)
switch (mfcr2->r2master) {
^ ~~~~~~~~~~~~~~~
1 error generated.
> Asterisk release candidates fail to build on FreeBSD
> ----------------------------------------------------
>
> Key: ASTERISK-28536
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28536
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_dahdi
> Affects Versions: 17.0.0, 13.29.0, 16.6.0
> Environment: FreeBSD
> Reporter: Guido Falsi
>
> A recent change introduced the switch statement:
> switch (mfcr2->r2master)
> On FreeBSD the clang compiler errors out, since it requires the switch statement argument to be an integer.
> I'm going to propose a fix in gerrit shortly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list