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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 1 13:21:54 CDT 2019


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

Kevin Harwell updated ASTERISK-27642:
-------------------------------------

    Target Release Version/s: 16.3.0

> [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
>      Target Release: 13.20.0, 15.3.0, 16.0.0, 16.3.0
>
>         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