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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Jan 15 07:25:50 CST 2018


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

Friendly Automation closed ASTERISK-27560.
------------------------------------------


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