[asterisk-bugs] [JIRA] (DAHLIN-385) DAHDI fails to compile with CC=clang

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Fri Jan 8 06:53:17 CST 2021


Jaco Kroon created DAHLIN-385:
---------------------------------

             Summary: DAHDI fails to compile with CC=clang
                 Key: DAHLIN-385
                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-385
             Project: DAHDI-Linux
          Issue Type: Bug
      Security Level: None
          Components: General
    Affects Versions: 3.1.0
         Environment: Gentoo Linux, with CC=clang
            Reporter: Jaco Kroon
            Assignee: Keith Morgan
            Severity: Trivial


Various CFLAGS options assume gcc, some of these options are not available with clang.  Additionally kernel documentation states that -Wno-${warning} flags are not reliable with $(call cc-option,...) anyway, so use $(call cc-disable-warning, ...) as per kernel documentation instead.

Will attach patch momentarily.



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



More information about the asterisk-bugs mailing list