[asterisk-bugs] [JIRA] (ASTERISK-27642) [patch] backtrace: Avoid -Wlogical-not-parentheses.

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Jan 30 14:48:13 CST 2018


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

George Joseph updated ASTERISK-27642:
-------------------------------------

    Assignee: Alexander Traud

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