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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Jan 9 06:41:39 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241432#comment-241432 ] 

Friendly Automation commented on ASTERISK-27560:
------------------------------------------------

Change 7860 merged by Jenkins2:
BuildSystem: Really do not pass unknown-warning options to the compiler.

[https://gerrit.asterisk.org/7860|https://gerrit.asterisk.org/7860]

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