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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Jan 30 09:52:13 CST 2018


Alexander Traud created ASTERISK-27642:
------------------------------------------

             Summary: [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: 15.2.0, 13.19.0
            Reporter: Alexander Traud
            Severity: Minor


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