[asterisk-bugs] [JIRA] (ASTERISK-27642) [patch] backtrace: Avoid -Wlogical-not-parentheses.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Mon Feb 12 06:21:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242130#comment-242130 ]
Friendly Automation commented on ASTERISK-27642:
------------------------------------------------
Change 8106 merged by Jenkins2:
backtrace: Avoid potential spurious output.
[https://gerrit.asterisk.org/8106|https://gerrit.asterisk.org/8106]
> [patch] backtrace: Avoid -Wlogical-not-parentheses.
> ---------------------------------------------------
>
> Key: ASTERISK-27642
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27642
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 13.19.0, 15.2.0
> Reporter: Alexander Traud
> Assignee: Alexander Traud
> Severity: Minor
> Labels: patch
> Attachments: backtrace_logical-not-parentheses.patch
>
>
> On FreeBSD 11.1, the default compiler clang (4.0.0) reports:{code}backtrace.c:133:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
> if (!bfd_get_section_flags(bfdobj, section) & SEC_ALLOC ||
> ^{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list