<p>for sure, for clang this doesn't work at all</p>

<pre><code>CC (clang) [M db_mysql.so]      km_dbase.o
CC (clang) [M db_mysql.so]      km_val.o
CC (clang) [M db_mysql.so]      my_fld.o
CC (clang) [M db_mysql.so]      km_row.o
CC (clang) [M db_mysql.so]      km_my_con.o
CC (clang) [M db_mysql.so]      km_res.o
CC (clang) [M db_mysql.so]      my_cmd.o
In file included from my_cmd.c:46:
In file included from ./my_cmd.h:25:
In file included from ./../../lib/srdb2/db_drv.h:29:
In file included from ./../../lib/srdb2/db_gen.h:30:
In file included from ./../../lib/srdb2/../../str.h:24:
In file included from /usr/include/string.h:25:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  ^
1 warning generated.
CC (clang) [M db_mysql.so]      my_con.o
CC (clang) [M db_mysql.so]      db_mysql.o
CC (clang) [M db_mysql.so]      my_res.o
CC (clang) [M db_mysql.so]      my_uri.o
CC (clang) [M db_mysql.so]      km_db_mysql.o
CC (clang) [L libsrdb2.so.1.0]      db_fld.o
CC (clang) [L libsrdb2.so.1.0]      db.o
CC (clang) [L libsrdb2.so.1.0]      db_con.o
CC (clang) [L libsrdb2.so.1.0]      db_res.o
CC (clang) [L libsrdb2.so.1.0]      db_rec.o
CC (clang) [L libsrdb2.so.1.0]      db_gen.o
CC (clang) [L libsrdb2.so.1.0]      db_pool.o
CC (clang) [L libsrdb2.so.1.0]      db_cmd.o
CC (clang) [L libsrdb2.so.1.0]      db_drv.o
CC (clang) [L libsrdb2.so.1.0]      db_uri.o
CC (clang) [L libsrdb2.so.1.0]      db_ctx.o
LD (clang) [L libsrdb2.so.1.0]      libsrdb2.so.1.0
CC (clang) [L libsrdb1.so.1.0]      db_query.o
CC (clang) [L libsrdb1.so.1.0]      db_id.o
CC (clang) [L libsrdb1.so.1.0]      db.o
CC (clang) [L libsrdb1.so.1.0]      db_row.o
CC (clang) [L libsrdb1.so.1.0]      db_res.o
CC (clang) [L libsrdb1.so.1.0]      db_pool.o
CC (clang) [L libsrdb1.so.1.0]      db_ut.o
In file included from db_ut.c:55:
In file included from /usr/include/time.h:27:
/usr/include/features.h:148:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  ^
1 warning generated.
CC (clang) [L libsrdb1.so.1.0]      db_val.o
LD (clang) [L libsrdb1.so.1.0]      libsrdb1.so.1.0
LD (clang) [M db_mysql.so]      db_mysql.so
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/620#issuecomment-219672960">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQNHN6SylAKG9H6b1t8MmT-8msEdks5qCZF2gaJpZM4Idzyq.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/620#issuecomment-219672960"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>