[asterisk-bugs] [JIRA] (ASTERISK-27607) [patch] res_config_mysql: Avoid the header mysql_version.h.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Mon Jan 22 08:41:50 CST 2018


Alexander Traud created ASTERISK-27607:
------------------------------------------

             Summary: [patch] res_config_mysql: Avoid the header mysql_version.h.
                 Key: ASTERISK-27607
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27607
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Addons/res_config_mysql
    Affects Versions: 15.2.0, 13.19.0
         Environment: FreeBSD 11.1
compiler clang
            Reporter: Alexander Traud
            Severity: Trivial


{code}mysql_version.h:3:2: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]{code}On FreeBSD 11.1, the default compiler clang reports the above.

*Steps to reproduce*
# pkg install gmake
# pkg install libedit jansson e2fsprogs-libuuid sqlite3 libxml2
# pkg install mysql57-client
# fetch --no-verify-peer http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
# tar \-zxf asterisk\-*
# cd asterisk-*
# ./configure --without-pjproject-bundled
# gmake menuselect.makeopts
# ./menuselect/menuselect res_config_mysql
# gmake



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



More information about the asterisk-bugs mailing list