[asterisk-bugs] [JIRA] (ASTERISK-27560) [patch] clang 5 does not know -Wno-format-truncation

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Aug 8 10:14:58 CDT 2018


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

Asterisk Team updated ASTERISK-27560:
-------------------------------------

    Target Release Version/s: 16.0.0

> [patch] clang 5 does not know -Wno-format-truncation
> ----------------------------------------------------
>
>                 Key: ASTERISK-27560
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27560
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.8.2, 15.1.5
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Trivial
>              Labels: patch
>      Target Release: 13.20.0, 15.3.0, 16.0.0
>
>         Attachments: clang_unknown_warning.patch
>
>
> ASTERISK-27156 fixed warnings related to GCC 7 including those related to {{format-truncation=1}}. Then, ASTERISK-27171 allowed older GCC versions again which do not understand {{-Wno-format-truncation}}. However, that change was not complete. Still, other compilers like clang 5.0 print{code}warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list