=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for asterisk-1.8.32.3nb22
menuselect/menuselect --check-deps menuselect.makeopts
Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH
menuselect/menuselect --check-deps menuselect.makeopts /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/pkgsrc.makeopts 
Building Documentation For: Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH
Generating embedded module rules ...
channels pbx apps codecs    [CC] astcanary.c -> astcanary.o
   [CC] eagi-test.c -> eagi-test.o
   [CC] pbx_config.c -> pbx_config.o
   [CC] chan_iax2.c -> chan_iax2.o
   [CC] bridge_builtin_features.c -> bridge_builtin_features.o
   [CC] format_sln16.c -> format_sln16.o
   [CC] app_waituntil.c -> app_waituntil.o
   [CC] func_global.c -> func_global.o
   [CC] res_timing_kqueue.c -> res_timing_kqueue.o
   [CC] anaFilter.c -> anaFilter.o
   [CC] f2clib.c -> f2clib.o
   [CC] abstract_jb.c -> abstract_jb.o
   [CC] cel_manager.c -> cel_manager.o
formats    [CC] cdr_manager.c -> cdr_manager.o
   [CC] iax2-parser.c -> iax2-parser.o
cdr cel bridges funcs tests main In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_config.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
pbx_config.c:139:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isblank(*p) /* XXX order is important */ && !in_blank) {
                    ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:71:44: note: expanded from macro 'isblank'
#define isblank(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_BL))
                                                ^~~~
pbx_config.c:346:17: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (*c && isdigit(*c))
                                     ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_sln16.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
res In file included from chan_iax2.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
In file included from /usr/include/pthread.h:bridge_builtin_features.c346::942:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31 :
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: #define pthread_mutex_lock              __libc_mutex_lockwarning
:         ^'pthread_mutex_lock' macro redefined [-Wmacro-redefined]

In file included from chan_iax2.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from chan_iax2.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:/usr/include/pthread.h9:: 346note:9::  previous definition is herenote
: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from chan_iax2.c:61#define pthread_mutex_lock              __libc_mutex_lock
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:
9: In file included from warning: bridge_builtin_features.c'pthread_mutex_init' macro redefined [-Wmacro-redefined]:
42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
:
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::557345:9::9:  notewarning: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
previous definition is here
#define pthread_mutex_init              __libc_mutex_init
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock        ^

In file included from chan_iax2.c        ^:
61/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h348::5609::9 :note: previous definition is here
 warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from bridge_builtin_features.c#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy:42
:
In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:/usr/include/pthread.h31:
:349In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::932: note:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:: 9previous definition is here: 
warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from chan_iax2.c:61#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^:561
:/usr/include/pthread.h9:347: :warning9: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]note
: previous definition is here
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init#define pthread_mutex_trylock           __libc_mutex_trylock

        ^        ^

/usr/include/pthread.hIn file included from bridge_builtin_features.c:42::
369In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h9:: 31:
note: In file included from previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_init               __libc_cond_init
:559:9:        ^ warning
: In file included from 'pthread_mutex_init' macro redefined [-Wmacro-redefined]chan_iax2.c:
61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_initwarning: 
'pthread_cond_destroy' macro redefined [-Wmacro-redefined]        ^

/usr/include/pthread.h:345:9: note: #define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroyprevious definition is here

        ^
/usr/include/pthread.h:374#define pthread_mutex_init              __libc_mutex_init:
9        ^
: noteIn file included from bridge_builtin_features.c: :previous definition is here42
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
#define pthread_cond_destroy            __libc_cond_destroyIn file included from 
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :chan_iax2.c32::
61/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5639:: 9warning: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]warning
: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal        ^

        ^/usr/include/pthread.h
:/usr/include/pthread.h349::9370::9:  note: noteprevious definition is here: 
previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^#define pthread_mutex_destroy           __libc_mutex_destroy

In file included from         ^chan_iax2.c
:61In file included from :
bridge_builtin_features.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h42:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h564::31:
9: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 32'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 
'pthread_cond_init' macro redefined [-Wmacro-redefined]        ^

/usr/include/pthread.h:371:9: note: #define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_initprevious definition is here

        ^
/usr/include/pthread.h:369:#define pthread_cond_broadcast          __libc_cond_broadcast9:
         ^note
: previous definition is here
In file included from chan_iax2.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:#define pthread_cond_init               __libc_cond_init9
        ^:
 warningIn file included from : bridge_builtin_features.c'pthread_cond_wait' macro redefined [-Wmacro-redefined]:
42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^:
562/usr/include/pthread.h:9:: 372:9warning: : note'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: 
previous definition is here
#define pthread_cond_wait               __libc_cond_wait
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy        ^

        ^In file included from 
chan_iax2.c/usr/include/pthread.h::61:
374/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9566::9 :note : previous definition is here
warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from bridge_builtin_features.c:42:
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:        ^31
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/usr/include/pthread.h::32:
373/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9:563::9 :note : warningprevious definition is here: 
'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from bridge_builtin_features.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from bridge_builtin_features.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from bridge_builtin_features.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_sln16.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_sln16.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is hereIn file included from 
bridge_builtin_features.c:42:
In file included from #define pthread_cond_init               __libc_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:31        ^:

In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.happ_waituntil.c::75037:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
935In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h10::21 :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:warning23: :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.harray subscript is of type 'char' [-Wchar-subscripts]
:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
                *pos = toupper(*pos);/usr/include/pthread.h
:374                ~~~~~~~^~~~~~~~~~~~~~
:9: note/usr/include/sys/ctype_inline.h:: previous definition is here60
:46: note#define pthread_cond_destroy            __libc_cond_destroy: 
expanded from macro 'toupper'        ^

In file included from app_waituntil.c:37:
In file included from #define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
127                                                  ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::5223:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h47:563:: 9note: expanded from macro 'AST_INLINE_API':
 warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :bridge_builtin_features.c127::
42In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
:21In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2331:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::750565:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9::994 warning:22: :'pthread_cond_wait' macro redefined [-Wmacro-redefined] warning
: array subscript is of type 'char' [-Wchar-subscripts]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait                hash = hash * 33 ^ tolower(*str++);
        ^

/usr/include/pthread.h:                                   ^~~~~~~~~~~~~~~372
:9/usr/include/sys/ctype_inline.h:: 59note:: previous definition is here46
: note: expanded from macro 'tolower'#define pthread_cond_wait               __libc_cond_wait

        ^
In file included from app_waituntil.c:37:
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:127                                                  ^~~~
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from chan_iax2.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from chan_iax2.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_timing_kqueue.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] astcanary.o -> astcanary
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_waituntil.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
In file included from /usr/include/pthread.hres_timing_kqueue.c::36938::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :31note: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
#define pthread_cond_init               __libc_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h
:        ^935
:10In file included from :cel_manager.c: 40warning:
: In file included from array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
                *pos = toupper(*pos);        ^

                ~~~~~~~^~~~~~~~~~~~~~/usr/include/pthread.h
:374:/usr/include/sys/ctype_inline.h9::60: 46note: : noteprevious definition is here: 
expanded from macro 'toupper'
#define pthread_cond_destroy            __libc_cond_destroy
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
        ^                                                  ^

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hcel_manager.c::5240::
47In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :note127: :
expanded from macro 'AST_INLINE_API'
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h# define AST_INLINE_API(hdr, body) inline hdr body:
21                                              ^~~~:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
In file included from res_timing_kqueue.c#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast:
38        ^:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h/usr/include/pthread.h::31371::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h note: :previous definition is here750
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994#define pthread_cond_broadcast          __libc_cond_broadcast:
22        ^:
 In file included from warningcel_manager.c:: 40:
array subscript is of type 'char' [-Wchar-subscripts]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
                hash = hash * 33 ^ tolower(*str++);In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h                                   ^~~~~~~~~~~~~~~:
21/usr/include/sys/ctype_inline.h:
:59In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h46::23 :
note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hexpanded from macro 'tolower':
565:9:#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)])) 
warning                                                  ^~~~: 
'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hiax2-parser.c::56338::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: :
'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal:
556        ^:
9/usr/include/pthread.h:: 370warning: :9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock: 
previous definition is here        ^

/usr/include/pthread.h#define pthread_cond_broadcast          __libc_cond_broadcast:
346        ^:
9:In file included from  func_global.cnote:: 38previous definition is here:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_mutex_lock              __libc_mutex_lock:
32        ^:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565In file included from :iax2-parser.c9::38 :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]
:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait557
:        ^9
:/usr/include/pthread.h :warning372: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]9
: note: previous definition is here
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock#define pthread_cond_wait               __libc_cond_wait

        ^        ^

/usr/include/pthread.h:348In file included from :func_global.c9::38 :
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here:
31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_mutex_unlock            __libc_mutex_unlock32
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:In file included from 566iax2-parser.c::938: :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:
36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait558
:        ^9
:/usr/include/pthread.h :warning: 373'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:
9: note: previous definition is here
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:#define pthread_cond_timedwait          __libc_cond_timedwait347
:        ^9
: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from iax2-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_global.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o
In file included from iax2-parser.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from iax2-parser.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h   [CC] analys.c -> analys.o
:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hchan_iax2.c:558::27679::9 warning::  'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        return abs(ast_random());#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock

        ^               ^

/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.hchan_iax2.c::345:2767:99::  notenote: : previous definition is hereuse function 'labs' instead

#define pthread_mutex_init              __libc_mutex_init
        ^        return abs(ast_random());

               ^~~In file included from abstract_jb.c
:               labs40
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: noteaddons : previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from abstract_jb.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cel_manager.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] format_g729.c -> format_g729.o
In file included from abstract_jb.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from abstract_jb.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~

   [CC] res_smdi.c -> res_smdi.o
chan_iax2.c:5985:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        if (abs(ms - pred) < MAX_TIMESTAMP_SKEW)
            ^
chan_iax2.c:5985:6: note: use function 'labs' instead
        if (abs(ms - pred) < MAX_TIMESTAMP_SKEW)
            ^~~
            labs
chan_iax2.c:6057:26: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                        if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) {
                                              ^
chan_iax2.c:6057:26: note: remove the call to 'abs' since unsigned values cannot be negative
                        if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) {
                                              ^~~
chan_iax2.c:6098:21: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                                if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW )
                                                ^
chan_iax2.c:6098:21: note: remove the call to 'abs' since unsigned values cannot be negative
                                if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW )
                                                ^~~
chan_iax2.c:6100:7: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                                                abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW);
                                                ^
chan_iax2.c:6100:7: note: remove the call to 'abs' since unsigned values cannot be negative
                                                abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW);
                                                ^~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^
chan_iax2.c:6130:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                        } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) {
                                   ^
chan_iax2.c:6130:15: note: remove the call to 'abs' since unsigned values cannot be negative
                        } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) {
                                   ^~~
13 warnings generated.
   [CC] bridge_simple.c -> bridge_simple.o
13 warnings generated.
In file included from    [CC] app_sms.c -> app_sms.o
cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
13 warnings generated.
   [CC] cdr_custom.c -> cdr_custom.o
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] format_vox.c -> format_vox.o
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cdr_manager.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] constants.c -> constants.o
13 warnings generated.
   [CC] cel_custom.c -> cel_custom.o
13 warnings generated.
   [CC] func_aes.c -> func_aes.o
chan_iax2.c:1805:33: warning: unused function 'user_ref' [-Wunused-function]
static inline struct iax2_user *user_ref(struct iax2_user *user)
                                ^
13 warnings generated.
   [CC] iax2-provision.c -> iax2-provision.o
13 warnings generated.
   [CC] acl.c -> acl.o
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_vox.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9In file included from :format_g729.c note: :previous definition is here
37:
#define pthread_cond_timedwait          __libc_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h
:28:
        ^
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
In file included from #define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockres_smdi.c
:        ^47
:
/usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h347::319:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote: :previous definition is here32
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9:#define pthread_mutex_trylock           __libc_mutex_trylock 
warning        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 
note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_g729.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h        ^:
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
/usr/include/pthread.h:346:9#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy:
         ^note
: /usr/include/pthread.hprevious definition is here:
374:9#define pthread_mutex_lock              __libc_mutex_lock:
         ^note
: previous definition is hereIn file included from 
res_smdi.c:#define pthread_cond_destroy            __libc_cond_destroy47
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :format_g729.c31::
37In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h32::
28/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::936::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]23
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock 
warning        ^: 
'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:348:9: note#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal: 
previous definition is here        ^

/usr/include/pthread.h:370:9: #define pthread_mutex_unlock            __libc_mutex_unlocknote
:         ^previous definition is here

In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:#define pthread_cond_signal             __libc_cond_signal31
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :format_g729.c32::
37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::928::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]36
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: 
'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]        ^

/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9#define pthread_mutex_trylock           __libc_mutex_trylock:
         ^
note: previous definition is hereIn file included from 
res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
#define pthread_cond_broadcast          __libc_cond_broadcastIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:
32In file included from :
format_g729.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:37::
559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:928::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]36:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init'pthread_cond_wait' macro redefined [-Wmacro-redefined]

        ^
/usr/include/pthread.h:345:9: note: #define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_waitprevious definition is here

        ^
/usr/include/pthread.h:372:9#define pthread_mutex_init              __libc_mutex_init:
         ^note
: previous definition is hereIn file included from 
res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:#define pthread_cond_wait               __libc_cond_wait31
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:In file included from format_g729.c32:37:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h560:28::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning: 36'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: #define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]

        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373#define pthread_mutex_destroy           __libc_mutex_destroy:
9        ^:
 noteIn file included from : previous definition is hereres_smdi.c
:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from #define pthread_cond_timedwait          __libc_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:        ^32
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_smdi.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
In file included from format_vox.c:36#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:/usr/include/pthread.h31:348:
:In file included from 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note750:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hprevious definition is here
:935:10:#define pthread_mutex_unlock            __libc_mutex_unlock 
warning        ^: 
array subscript is of type 'char' [-Wchar-subscripts]In file included from 
app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/sys/ctype_inline.h/usr/include/pthread.h::60347::469::  notenote: : expanded from macro 'toupper'previous definition is here

#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))#define pthread_mutex_trylock           __libc_mutex_trylock

                                                  ^        ^

In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_sms.c:50:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_vox.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_g729.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_g729.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
res_smdi.c:731:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                if (!isdigit((c = fgetc(iface->file)))) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 566func_aes.c::934::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:
31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h
:        ^935
:/usr/include/pthread.h10::373: 9warning::  array subscript is of type 'char' [-Wchar-subscripts]note
: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_aes.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_sms.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_sms.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from bridge_simple.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from 
cdr_custom.c                                              ^~~~:
44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from :bridge_simple.c52:42::
47In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31note: :
expanded from macro 'AST_INLINE_API'In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h# define AST_INLINE_API(hdr, body) inline hdr body:
994                                              ^~~~
:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from cdr_custom.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] strcompat.c -> strcompat.o
app_sms.c:291:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isdigit(*s)) {
                    ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
   [CC] bridge_softmix.c -> bridge_softmix.o
   [CC] createCB.c -> createCB.o
app_sms.c:754:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (!isdigit(*i)) {                 /* ignore non-digits */
                     ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
app_sms.c:803:12: warning: implicit conversion from 'int' to 'char' changes value from 191 to -65 [-Wconstant-conversion]
                                *p++ = 191;
                                     ~ ^~~
app_sms.c:844:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (isalnum(*p)) {
                               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
app_sms.c:845:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                *p = tolower (*p);
                                     ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_sms.c:848:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (isspace (*p)) {
                               ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_sms.c:864:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        while (isspace (*p)) {
                                               ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_sms.c:912:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) {
                                                            ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:912:28: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) {
                                                                            ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:912:46: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) {
                                                                                              ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:912:64: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) {
                                                                                                                ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:914:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                                        (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 12) +
                                                                           ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:915:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                                        (((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)) << 8) +
                                                                           ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:916:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                                        (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF));
                                                                           ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:916:62: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                                        (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF));
                                                                                                                            ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:929:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                if (isxdigit(*p) && isxdigit(p[1])) {
                                                    ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:929:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                if (isxdigit(*p) && isxdigit(p[1])) {
                                                                    ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:930:24: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF));
                                                                        ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:930:69: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF));
                                                                                                                     ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:944:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                if (isxdigit(*p) && isxdigit(p[1])) {
                                                    ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:944:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                if (isxdigit(*p) && isxdigit(p[1])) {
                                                                    ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
app_sms.c:945:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF));
                                                                       ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
app_sms.c:945:68: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                        h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF));
                                                                                                                    ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha'
#define isalpha(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A))
                                                ^~~~
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
app_sms.c:1919:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (!isalnum(*p)) {
                     ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
   [CC] bsynz.c -> bsynz.o
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cel_custom.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from iax2-provision.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
13 warnings generated.
15 warnings generated.
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from acl.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] cdr_csv.c -> cdr_csv.o
   [CC] pbx_loopback.c -> pbx_loopback.o
13 warnings generated.
13 warnings generated.
   [CC] format_wav.c -> format_wav.o
   [CC] func_devstate.c -> func_devstate.o
13 warnings generated.
   [CC] adsi.c -> adsi.o
   [CC] src/add.c -> src/add.o
13 warnings generated.
   [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o
In file included from bridge_softmix.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from bridge_softmix.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
/usr/include/pthread.h:346:9:#define pthread_mutex_unlock            __libc_mutex_unlock 
note:         ^
previous definition is here
In file included from bridge_softmix.c:48:
In file included from #define pthread_mutex_lock              __libc_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:31        ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :32strcompat.c:
:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::32558:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::557 :warning9::  'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock        ^

        ^/usr/include/pthread.h
:/usr/include/pthread.h347::3489::9 note::  note: previous definition is here
previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock#define pthread_mutex_unlock            __libc_mutex_unlock

        ^
        ^
In file included from In file included from strcompat.c:bridge_softmix.c38:48:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:3132:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::55832:9:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning: :559'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:
         ^note
: /usr/include/pthread.hprevious definition is here:
345:9: note#define pthread_mutex_trylock           __libc_mutex_trylock: 
        ^
previous definition is hereIn file included from 
strcompat.c:38:
In file included from #define pthread_mutex_init              __libc_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:32        ^
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 559bridge_softmix.c:9:: 48warning:
: In file included from 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:32:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^
:/usr/include/pthread.h560::345:9: 9note::  previous definition is here
warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from strcompat.c:#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy38
:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
32/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h349:560::99::  notewarning: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy

        ^        ^

In file included from /usr/include/pthread.hbridge_softmix.c::34948::
9In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:note31: previous definition is here:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561#define pthread_mutex_destroy           __libc_mutex_destroy:
9        ^:
 In file included from warning: strcompat.c'pthread_cond_init' macro redefined [-Wmacro-redefined]:
38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:561:        ^9
:/usr/include/pthread.h warning:: 369'pthread_cond_init' macro redefined [-Wmacro-redefined]
:9: note#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
:         ^previous definition is here

/usr/include/pthread.h:369:9: note: previous definition is here#define pthread_cond_init               __libc_cond_init

        ^
In file included from bridge_softmix.c#define pthread_cond_init               __libc_cond_init:48
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31In file included from :
strcompat.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h38::
32In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::562562::99::  warningwarning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy/usr/include/pthread.h
        ^:
374/usr/include/pthread.h::9374:: 9note:: previous definition is here 
note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
#define pthread_cond_destroy            __libc_cond_destroyIn file included from 
strcompat.c        ^:38
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:bridge_softmix.c32::
48/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from 563/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::319:
: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :32'pthread_cond_signal' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal

        ^
/usr/include/pthread.h:370:9:#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal 
note:         ^previous definition is here

/usr/include/pthread.h:370:9: #define pthread_cond_signal             __libc_cond_signal
note        ^: previous definition is here

In file included from strcompat.c:#define pthread_cond_signal             __libc_cond_signal38
:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 564:9bridge_softmix.c::48 warning:
: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast564:9: 
warning        ^
: /usr/include/pthread.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:371
:9: note: previous definition is here
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^#define pthread_cond_broadcast          __libc_cond_broadcast
        ^

/usr/include/pthread.h:371In file included from strcompat.c:9::38 :
note: In file included from previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565#define pthread_cond_broadcast          __libc_cond_broadcast:
9        ^
: In file included from warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]bridge_softmix.c
:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait31
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/usr/include/pthread.h::37232:9:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565 :note9: :previous definition is here 
warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from strcompat.c#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait:
38:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:/usr/include/pthread.h32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::566372:9::9 warning: : note'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 
previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait

        ^In file included from 
bridge_softmix.c/usr/include/pthread.h::48373:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: note31: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_timedwait          __libc_cond_timedwait:
566        ^:9: 
warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from bridge_softmix.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from bridge_softmix.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] chanwr.c -> chanwr.o
13 warnings generated.
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
   [CC] src/code.c -> src/code.o
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cdr_csv.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_loopback.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [LD] eagi-sphinx-test.o -> eagi-sphinx-test
   [CC] doCPLC.c -> doCPLC.o
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from adsi.c:26:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [CC] bridge_multiplexed.c -> bridge_multiplexed.o
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_devstate.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] pbx_dundi.c -> pbx_dundi.o
14 warnings generated.
   [CC] res_convert.c -> res_convert.o
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_wav.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
11 warnings generated.
   [LD] cel_manager.o -> cel_manager.so
   [CC] alaw.c -> alaw.o
In file included from format_wav.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
   [CC] codec_alaw.c -> codec_alaw.o
In file included from format_wav.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cel_sqlite3_custom.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] cdr_syslog.c -> cdr_syslog.o
   [LD] eagi-test.o strcompat.o -> eagi-test
cel_sqlite3_custom.c:64:19: warning: unused variable 'name' [-Wunused-const-variable]
static const char name[] = "cel_sqlite3_custom";
                  ^
13 warnings generated.
   [CC] func_sprintf.c -> func_sprintf.o
   [CC] dcbias.c -> dcbias.o
13 warnings generated.
   [CC] decode.c -> decode.o
   [CC] format_gsm.c -> format_gsm.o
14 warnings generated.
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] cel_custom.o -> cel_custom.so
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
   [CC] enhancer.c -> enhancer.o
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from bridge_multiplexed.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_dundi.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
37 warnings generated.
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_alarmreceiver.c -> app_alarmreceiver.o
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_alaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] src/debug.c -> src/debug.o
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_convert.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_externalivr.c -> app_externalivr.o
13 warnings generated.
   [CC] app_dictate.c -> app_dictate.o
   [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so
13 warnings generated.
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] bridge_builtin_features.o -> bridge_builtin_features.so
13 warnings generated.
   [CC] res_config_ldap.c -> res_config_ldap.o
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] aoc.c -> aoc.o
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_sprintf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cdr_syslog.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning   [CC] app_macro.c -> app_macro.o
: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_gsm.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_gsm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_gsm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] filter.c -> filter.o
   [LD] bridge_simple.o -> bridge_simple.so
13 warnings generated.
   [CC] func_sysinfo.c -> func_sysinfo.o
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_alarmreceiver.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
   [CC] deemp.c -> deemp.o
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_externalivr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_alarmreceiver.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_alarmreceiver.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_dictate.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o
   [CC] src/decode.c -> src/decode.o
In file included from app_externalivr.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_externalivr.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_dictate.c:176:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                        if ((f->frametype == AST_FRAME_DTMF)) {
                             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
app_dictate.c:176:22: note: remove extraneous parentheses around the comparison to silence this warning
                        if ((f->frametype == AST_FRAME_DTMF)) {
                            ~             ^                ~
app_dictate.c:176:22: note: use '=' to turn this equality comparison into an assignment
                        if ((f->frametype == AST_FRAME_DTMF)) {
                                          ^~
                                          =
   [LD] bridge_softmix.o -> bridge_softmix.so
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from aoc.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] format_ilbc.c -> format_ilbc.o
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
14 warnings generated.
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app.c -> app.o
   [LD] bridge_multiplexed.o -> bridge_multiplexed.so
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_config_ldap.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_sysinfo.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] format_siren14.c -> format_siren14.o
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_macro.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] src/long_term.c -> src/long_term.o
   [CC] FrameClassify.c -> FrameClassify.o
   [CC] codec_g722.c -> codec_g722.o
13 warnings generated.
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:   [CC] func_pitchshift.c -> func_pitchshift.o
21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cdr_sqlite3_custom.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] ast_expr2.c -> ast_expr2.o
   [CC] difmag.c -> difmag.o
13 warnings generated.
   [CC] g722/g722_encode.c -> g722/g722_encode.o
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:format_ilbc.c:2136:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h28::
23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::56336:9:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:556:9: warning: #define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal'pthread_mutex_lock' macro redefined [-Wmacro-redefined]

        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:346/usr/include/pthread.h::3729::9 :note : noteprevious definition is here: 
previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
#define pthread_cond_wait               __libc_cond_wait        ^

        ^
In file included from In file included from format_ilbc.capp.c::3651:
In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:28:127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::36:
21In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23557:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9:: warning566: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]9
: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait9
:        ^ note: previous definition is here

/usr/include/pthread.h:373:#define pthread_mutex_unlock            __libc_mutex_unlock9
:        ^ 
noteIn file included from : format_ilbc.c:previous definition is here
36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h#define pthread_cond_timedwait          __libc_cond_timedwait:28:

In file included from         ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [CC] dundi-parser.c -> dundi-parser.o
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_ilbc.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
13 warnings generated.
In file included from format_ilbc.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] app_cdr.c -> app_cdr.o
   [LD] cdr_manager.o -> cdr_manager.so
app.c:2343:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (toupper(u[1]) == 'S') {
                            ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_siren14.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_siren14.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_siren14.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] gainquant.c -> gainquant.o
13 warnings generated.
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] chan_sip.c -> chan_sip.o
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_pitchshift.c:69:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:1321 warning:
sIn file included from  generated.
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] res_realtime.c -> res_realtime.o
13 warnings generated.
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ast_expr2.y:217:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] format_h263.c -> format_h263.o
   [LD] cdr_custom.o -> cdr_custom.so
ast_expr2.y:542:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
        for (i = 0, isint = (isdigit(s[0]) || s[0] == '-' || s[0]=='.'); isint && i < strlen(s); i++)
                             ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
ast_expr2.y:544:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (!isdigit(s[i]) && s[i] != '.') {
                     ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_g722.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from codec_g722.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_g722.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] dyptrk.c -> dyptrk.o
   [CC] src/lpc.c -> src/lpc.o
13 warnings generated.
13 warnings generated.
   [CC] func_curl.c -> func_curl.o
   [LD] cdr_csv.o -> cdr_csv.so
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from dundi-parser.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from dundi-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from dundi-parser.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [LD] cdr_syslog.o -> cdr_syslog.so
   [CC] func_strings.c -> func_strings.o
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_cdr.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] getCBvec.c -> getCBvec.o
   [CC] func_speex.c -> func_speex.o
   [CC] sip/config_parser.c -> sip/config_parser.o
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_h263.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_h263.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_h263.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
   [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from #define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:        ^21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:/usr/include/pthread.h23:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:369556:9: :warning9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
 note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from chan_sip.c:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock

        ^
        ^
In file included from chan_sip.c:221/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h346:9: :note: 563previous definition is here
:9:#define pthread_mutex_lock              __libc_mutex_lock 
        ^warning
: In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]res_realtime.c
:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^:
21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23370:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5579:9: :warning:  'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
note: previous definition is here#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^

/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
#define pthread_mutex_unlock            __libc_mutex_unlock
In file included from         ^
chan_sip.cIn file included from res_realtime.c::39:
In file included from 221/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:21::
564In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923::
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning558:9: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]warning: 
'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^

        ^/usr/include/pthread.h
:347:/usr/include/pthread.h9:: 371note: :previous definition is here
9:#define pthread_mutex_trylock           __libc_mutex_trylock
         ^note
: In file included from res_realtime.cprevious definition is here:
39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_broadcast          __libc_cond_broadcast:21:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:In file included from 9: warning: chan_sip.c'pthread_mutex_init' macro redefined [-Wmacro-redefined]
:221:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^:
565/usr/include/pthread.h:345::99:: note : previous definition is herewarning
: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_realtime.c:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait39
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h        ^:127
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:/usr/include/pthread.h21:
:In file included from 372/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9:9 warning:: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
 note#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 
        ^
previous definition is here/usr/include/pthread.h
:349:9#define pthread_cond_wait               __libc_cond_wait: note: 
previous definition is here        ^

In file included from chan_sip.c:#define pthread_mutex_destroy           __libc_mutex_destroy221:

        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:In file included from res_realtime.c:39:
In file included from 566/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::219:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 561:warning9::  'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]warning
: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait        ^

/usr/include/pthread.h        ^:369
:/usr/include/pthread.h9:: note373: :previous definition is here
9: note#define pthread_cond_init               __libc_cond_init: 
previous definition is here        ^

In file included from res_realtime.c:39:
#define pthread_cond_timedwait          __libc_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
127        ^:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from chan_sip.c:222:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from chan_sip.c:222:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
13/usr/include/sys/ctype_inline.h warning:s59 generated.
:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_realtime.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
14 warnings generated.
   [CC] app_talkdetect.c -> app_talkdetect.o
   [CC] sip/srtp.c -> sip/srtp.o
13 warnings generated.
   [CC] format_siren7.c -> format_siren7.o
13 warnings generated.
13 warnings generated.
   [CC] res_pktccops.c -> res_pktccops.o
chan_sip.c:2288:11: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare]
        if (code >= 0 && code < ARRAY_LEN(sip_reason_table)) {
            ~~~~ ^  ~
   [CC] pbx_ael.c -> pbx_ael.o
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_curl.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from func_curl.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_curl.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] encode.c -> encode.o
func_curl.c:637:16: warning: comparison of constant -500 with expression of type 'CURLoption' is always false [-Wtautological-constant-out-of-range-compare]
                if (cur->key == CURLOPT_SPECIAL_HASHCOMPAT) {
                    ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~
func_curl.c:648:17: warning: comparison of constant -500 with expression of type 'CURLoption' is always false [-Wtautological-constant-out-of-range-compare]
                        if (cur->key == CURLOPT_SPECIAL_HASHCOMPAT) {
                            ~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~
   [CC] src/preprocess.c -> src/preprocess.o
chan_sip.c:10106:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = tolower(*pos);
                       ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] sip/reqresp_parser.c -> sip/reqresp_parser.o
15 warnings generated.
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
chan_sip.c:15895:2: error: illegal storage class on function
        RAII_VAR(char *, tmpf, NULL, ast_free);
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR'
    auto void _dtor_ ## varname (vartype * v); \
    ^
chan_sip.c:15895:2: error: function definition is not allowed here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR'
    void _dtor_ ## varname (vartype * v) { dtor(*v); } \
                                         ^
   [CC] ast_expr2f.c -> ast_expr2f.o
chan_sip.c:16263:130: warning: address of array 'referdata->replaces_callid_fromtag' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        ast_debug(2, "Attended transfer: Will use Replace-Call-ID : %s F-tag: %s T-tag: %s\n", referdata->replaces_callid, referdata->replaces_callid_fromtag ? referdata->replaces_callid_fromtag : "<none>", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "<none>" );
                                                                                                                                           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^~~~~~~~~~~
chan_sip.c:16263:214: warning: address of array 'referdata->replaces_callid_totag' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        ast_debug(2, "Attended transfer: Will use Replace-Call-ID : %s F-tag: %s T-tag: %s\n", referdata->replaces_callid, referdata->replaces_callid_fromtag ? referdata->replaces_callid_fromtag : "<none>", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "<none>" );
                                                                                                                                                                                                                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^~~~~~~~~~~
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from func_strings.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
chan_sip.c:16721:2: error: illegal storage class on function
        RAII_VAR(char *, ofbuf, NULL, ast_free); /* beware, everyone starts pointing to this */
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR'
    auto void _dtor_ ## varname (vartype * v); \
    ^
chan_sip.c:16721:2: error: function definition is not allowed here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR'
    void _dtor_ ## varname (vartype * v) { dtor(*v); } \
                                         ^
chan_sip.c:16722:2: error: illegal storage class on function
        RAII_VAR(char *, namebuf, NULL, ast_free);
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR'
    auto void _dtor_ ## varname (vartype * v); \
    ^
chan_sip.c:16722:2: error: function definition is not allowed here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR'
    void _dtor_ ## varname (vartype * v) { dtor(*v); } \
                                         ^
chan_sip.c:17628:18: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
                stalecontext = '\0';
                               ^~~~
chan_sip.c:17634:20: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
                                stalecontext = '\0';
                                               ^~~~
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from func_speex.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
chan_sip.c:18225:74: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion]
                ast_cli(fd, "  Sess-Refresh : %s\n", strefresherparam2str(peer->stimer.st_ref));
                                                     ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~
chan_sip.c:18282:82: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion]
                astman_append(s, "SIP-Sess-Refresh: %s\r\n", strefresherparam2str(peer->stimer.st_ref));
                                                             ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~
chan_sip.c:18422:78: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion]
                ast_cli(a->fd, "  Sess-Refresh : %s\n", strefresherparam2str(user->stimer.st_ref));
                                                        ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~
func_strings.c:783:2: error: illegal storage class on function
        RAII_VAR(struct ast_str *, str, ast_str_create(16), ast_free);
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR'
    auto void _dtor_ ## varname (vartype * v); \
    ^
func_strings.c:783:2: error: function definition is not allowed here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR'
    void _dtor_ ## varname (vartype * v) { dtor(*v); } \
                                         ^
chan_sip.c:18874:72: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion]
        ast_cli(a->fd, "  Session Refresher:      %s\n", strefresherparam2str(global_st_refresher));
                                                         ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
func_strings.c:1382:53: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while ((bufptr < buf + buflen - 1) && (*bufptr++ = toupper(*dataptr++)));
                                                           ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: In file included from notefunc_speex.c:: 45expanded from macro 'toupper':

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)])):

In file included from                                                   ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
func_strings.c:1395:82: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h        while ((bufptr < ast_str_buffer(*buf) + ast_str_size(*buf) - 1) && (*bufptr++ = toupper(*dataptr++)));:
60                                                                                        ^~~~~~~~~~~~~~~~~~~:
46/usr/include/sys/ctype_inline.h::60 :46note::  expanded from macro 'toupper'note
: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))                                                  ^

                                                  ^~~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
func_strings.c:1411:53: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while ((bufptr < buf + buflen - 1) && (*bufptr++ = tolower(*dataptr++)));
                                                           ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
func_strings.c:1424In file included from :func_speex.c82::45 :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.harray subscript is of type 'char' [-Wchar-subscripts]:
31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994        while ((bufptr < ast_str_buffer(*buf) + ast_str_size(*buf) - 1) && (*bufptr++ = tolower(*dataptr++)));:
22                                                                                        ^~~~~~~~~~~~~~~~~~~:
 /usr/include/sys/ctype_inline.hwarning:: 59array subscript is of type 'char' [-Wchar-subscripts]:
46: note                hash = hash * 33 ^ tolower(*str++);: 
expanded from macro 'tolower'                                   ^~~~~~~~~~~~~~~

#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))/usr/include/sys/ctype_inline.h
:                                                  ^~~~59
:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
17 warnings and 2 errors generated.
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'func_strings.o' failed
make[1]: *** [func_strings.o] Error 1
make[1]: *** Waiting for unfinished jobs....
   [CC] sip/sdp_crypto.c -> sip/sdp_crypto.o
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:29:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from sip/config_parser.c:30:
In file included from sip/include/sip.h:29:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] helpfun.c -> helpfun.o
chan_sip.c:24438:14: warning: address of array 'p->refer->replaces_callid_totag' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        p->refer->replaces_callid_totag ? ";to-tag=" : "",
                        ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~
/usr/include/ssp/stdio.h:62:59: note: expanded from macro 'snprintf'
    __builtin___snprintf_chk(str, len, 0, __ssp_bos(str), __VA_ARGS__)
                                                          ^~~~~~~~~~~
chan_sip.c:24440:14: warning: address of array 'p->refer->replaces_callid_fromtag' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        p->refer->replaces_callid_fromtag ? ";from-tag=" : "",
                        ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~
/usr/include/ssp/stdio.h:62:59: note: expanded from macro 'snprintf'
    __builtin___snprintf_chk(str, len, 0, __ssp_bos(str), __VA_ARGS__)
                                                          ^~~~~~~~~~~
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_siren7.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
25 warnings and 6 errors generated.
In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
In file included from #define pthread_mutex_trylock           __libc_mutex_trylocksip/srtp.c
        ^:
36In file included from res_pktccops.c::
57:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::12732:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21:
In file included from 556/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::559 :warning9::  warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]'pthread_mutex_lock' macro redefined [-Wmacro-redefined]

#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^

        ^/usr/include/pthread.h
:349:9: note: previous definition is here
/usr/include/pthread.h:346:#define pthread_mutex_destroy           __libc_mutex_destroy9
:        ^
 In file included from noteres_pktccops.c: :previous definition is here57
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from #define pthread_mutex_lock              __libc_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:        ^21
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hsip/srtp.c::2336:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:561In file included from :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :warning32: :
'pthread_cond_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:557:9#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init: 
warning        ^: 
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
/usr/include/pthread.h:369:9: #define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlocknote
:         ^previous definition is here

/usr/include/pthread.h:348#define pthread_cond_init               __libc_cond_init:
9        ^
:In file included from  res_pktccops.cnote:: 57previous definition is here:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_mutex_unlock            __libc_mutex_unlock:
21        ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23In file included from :
sip/srtp.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::36562:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 32In file included from :
warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hformat_siren7.c::55835:: :
9'pthread_cond_destroy' macro redefined [-Wmacro-redefined]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31:
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroyIn file included from 
warning        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:/usr/include/pthread.h: 750'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:
935:10374::        ^ 
warning/usr/include/pthread.h9: ::array subscript is of type 'char' [-Wchar-subscripts] 347note:
9: :previous definition is here 
note                *pos = toupper(*pos);#define pthread_cond_destroy            __libc_cond_destroy: 
previous definition is here
                ~~~~~~~^~~~~~~~~~~~~~        ^


/usr/include/sys/ctype_inline.h#define pthread_mutex_trylock           __libc_mutex_trylock:In file included from 60
res_pktccops.c        ^::4657: note:

: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hexpanded from macro 'toupper'sip/srtp.c
::127#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))36
                                                  ^:

:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h5232::
47/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:::559 21note:: 9:
:expanded from macro 'AST_INLINE_API' In file included from warning
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]# define AST_INLINE_API(hdr, body) inline hdr body
23
:
                                              ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init

:        ^563:9:
 warning/usr/include/pthread.h: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]
345:9:#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal 
note        ^: 
previous definition is here/usr/include/pthread.h:
370:9#define pthread_mutex_init              __libc_mutex_init:
         ^note: 
previous definition is hereIn file included from 
sip/srtp.c:36:
#define pthread_cond_signal             __libc_cond_signalIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:In file included from 
format_siren7.c32::
35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :res_pktccops.c560::
57:In file included from 9:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:In file included from  :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h31warning:: :
In file included from 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]127
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
:In file included from 750:
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h
:        ^:21994:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
22/usr/include/pthread.h::: 23warning: :
349array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
::9564::                hash = hash * 33 ^ tolower(*str++);
9                                   ^~~~~~~~~~~~~~~:
 /usr/include/sys/ctype_inline.hnote: 59: :46previous definition is herewarning:
 : note#define pthread_mutex_destroy           __libc_mutex_destroy: In file included from expanded from macro 'tolower'

app_talkdetect.c'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]        ^#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))

:
36#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from 
sip/srtp.c                                                  ^~~~:
:        ^36
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/usr/include/pthread.h::32556:
371:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::: 5619::9warning:  : note'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 
previous definition is herewarning
: 'pthread_cond_init' macro redefined [-Wmacro-redefined]#define pthread_cond_broadcast          __libc_cond_broadcast

        ^
In file included from res_pktccops.c#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:
57        ^:

In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127::
In file included from 369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::219:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock: 23note:
: 
previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:#define pthread_cond_init               __libc_cond_init        ^

        ^565
:9In file included from : sip/srtp.c/usr/include/pthread.hwarning::: 36346:
'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
 :note32: #define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_waitprevious definition is here

        ^:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h#define pthread_mutex_lock              __libc_mutex_lock:
:372562        ^::
9:9In file included from :app_talkdetect.c  warning:note36: : :
'pthread_cond_destroy' macro redefined [-Wmacro-redefined]previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h

:557:#define pthread_cond_wait               __libc_cond_wait9#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy

        ^:        ^ 

warning: /usr/include/pthread.h'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]In file included from :
374res_pktccops.c:57:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:

In file included from         ^9
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127348::
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9note::: 21previous definition is here:
 In file included from note
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here:
23:
#define pthread_cond_destroy            __libc_cond_destroy#define pthread_mutex_unlock            __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^566

In file included from :app_talkdetect.c9        ^:
: 36In file included from warningsip/srtp.c:
:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:
:
558In file included from :#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
9        ^:
:/usr/include/pthread.h 32::
373/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: :5639'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]::
 note: previous definition is here9#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
:
         ^#define pthread_cond_timedwait          __libc_cond_timedwaitwarning
: 
'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:        ^347
:9:#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal note
:         ^previous definition is here

/usr/include/pthread.h:370#define pthread_mutex_trylock           __libc_mutex_trylock:
        ^
9In file included from :app_talkdetect.c :note36:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here:559
:9: #define pthread_cond_signal             __libc_cond_signalwarning
:         ^'pthread_mutex_init' macro redefined [-Wmacro-redefined]

In file included from sip/srtp.c:36#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:/usr/include/pthread.h32::
345/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9564: note:: 9previous definition is here:
 warning#define pthread_mutex_init              __libc_mutex_init: 
'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]        ^

In file included from app_talkdetect.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast560
:        ^9:
 /usr/include/pthread.hwarning:: 371'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:
9: note: #define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroyprevious definition is here

        ^
/usr/include/pthread.h:349:#define pthread_cond_broadcast          __libc_cond_broadcast9: 
note        ^: 
previous definition is hereIn file included from 
sip/srtp.c:36#define pthread_mutex_destroy           __libc_mutex_destroy:

        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from app_talkdetect.c::3632:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h561::5659:: 9warning: :'pthread_cond_init' macro redefined [-Wmacro-redefined]
 warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init

        ^
/usr/include/pthread.h:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait369
:        ^9
: /usr/include/pthread.hnote: :previous definition is here372
:9: #define pthread_cond_init               __libc_cond_initnote
:         ^
previous definition is hereIn file included from app_talkdetect.c
:36:
#define pthread_cond_wait               __libc_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^562
:9In file included from :sip/srtp.c warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]36
:
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroyIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:
32/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h374::5669::9 :note : warningprevious definition is here: 
'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy            __libc_cond_destroy
        ^
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitIn file included from 
app_talkdetect.c:        ^36
:
/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::373563::99::  notewarning: : previous definition is here'pthread_cond_signal' macro redefined [-Wmacro-redefined]

#define pthread_cond_timedwait          __libc_cond_timedwait#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal

        ^        ^

/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_talkdetect.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_talkdetect.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_talkdetect.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'chan_sip.o' failed
make[1]: *** [chan_sip.o] Error 1
make[1]: *** Waiting for unfinished jobs....
   [CC] src/rpe.c -> src/rpe.o
In file included from sip/srtp.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from sip/srtp.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body15
 warning                                              ^~~~s generated.

In file included from res_pktccops.c:57:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from app_talkdetect.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_talkdetect.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] format_g726.c -> format_g726.o
Makefile:347: recipe for target 'funcs' failed
gmake: *** [funcs] Error 2
gmake: *** Waiting for unfinished jobs....
   [CC] asterisk.c -> asterisk.o
13 warnings generated.
   [CC] energy.c -> energy.o
   [CC] src/gsm_destroy.c -> src/gsm_destroy.o
13 warnings generated.
   [CC] app_directed_pickup.c -> app_directed_pickup.o
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_ael.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] hpInput.c -> hpInput.o
13 warnings generated.
   [CC] g722/g722_decode.c -> g722/g722_decode.o
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ast_expr2.fl:64:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:In file included from 9ast_expr2.fl: :note64: previous definition is here
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10#define pthread_cond_wait               __libc_cond_wait:
         ^warning: 
array subscript is of type 'char' [-Wchar-subscripts]In file included from 
sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^/usr/include/sys/ctype_inline.h
:60/usr/include/pthread.h:46: :note373:: 9expanded from macro 'toupper': 
note: previous definition is here
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
#define pthread_cond_timedwait          __libc_cond_timedwait
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h        ^:
52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ast_expr2.fl:64:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:29:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from sip/reqresp_parser.c:30:
In file included from sip/include/sip.h:29:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] pbx_realtime.c -> pbx_realtime.o
   [CC] format_pcm.c -> format_pcm.o
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from sip/sdp_crypto.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from asterisk.c:116:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from asterisk.c:117:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from asterisk.c:117:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_g726.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_g726.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_g726.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] res_adsi.c -> res_adsi.o
13 warnings generated.
   [CC] app_db.c -> app_db.o
   [CC] res_crypto.c -> res_crypto.o
asterisk.c:818:2: warning: array subscript is of type 'char' [-Wchar-subscripts]
        DEFINE_PROFILE_MIN_MAX_VALUES;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asterisk.c:791:7: note: expanded from macro 'DEFINE_PROFILE_MIN_MAX_VALUES'
                if (isdigit(a->argv[3][0])) { \
                    ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
asterisk.c:853:2: warning: array subscript is of type 'char' [-Wchar-subscripts]
        DEFINE_PROFILE_MIN_MAX_VALUES;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asterisk.c:791:7: note: expanded from macro 'DEFINE_PROFILE_MIN_MAX_VALUES'
                if (isdigit(a->argv[3][0])) { \
                    ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
20 warnings generated.
asterisk.c:1964:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*s)) {
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
asterisk.c:1969:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
            (s[4] == '\0' || isspace(s[4]))) {
                             ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
asterisk.c:2656:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (isspace(*ptr)) {
                            ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
   [CC] codec_adpcm.c -> codec_adpcm.o
13 warnings generated.
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_directed_pickup.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] pbx_spool.c -> pbx_spool.o
   [CC] ham84.c -> ham84.o
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_realtime.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] src/gsm_decode.c -> src/gsm_decode.o
   [CC] hpOutput.c -> hpOutput.o
13 warnings generated.
Makefile:347: recipe for target 'channels' failed
gmake: *** [channels] Error 2
   [CC] hp100.c -> hp100.o
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_pcm.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [CC] app_waitforring.c -> app_waitforring.o
In file included from format_pcm.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_pcm.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] format_wav_gsm.c -> format_wav_gsm.o
13 warnings generated.
   [CC] codec_ulaw.c -> codec_ulaw.o
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_amd.c -> app_amd.o
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_adsi.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] res_phoneprov.c -> res_phoneprov.o
13 warnings generated.
   [CC] app_forkcdr.c -> app_forkcdr.o
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_adpcm.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_crypto.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx_spool.c:47:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from codec_adpcm.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_adpcm.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx_spool.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx_spool.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] iCBConstruct.c -> iCBConstruct.o
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h   [CC] src/gsm_encode.c -> src/gsm_encode.o
:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] format_jpeg.c -> format_jpeg.o
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_db.c::56440::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :warning144: :
In file included from 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:
30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
:        ^935:
10/usr/include/pthread.h:: 371warning:: 9array subscript is of type 'char' [-Wchar-subscripts]
: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_wav_gsm.c:38:
                *pos = toupper(*pos);In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h                ~~~~~~~^~~~~~~~~~~~~~:
28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36/usr/include/sys/ctype_inline.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:6023:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h46::565 :note: 9expanded from macro 'toupper': 
warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:
52        ^
:/usr/include/pthread.h:47372:9: note: :previous definition is here 
note: expanded from macro 'AST_INLINE_API'
#define pthread_cond_wait               __libc_cond_wait
        ^# define AST_INLINE_API(hdr, body) inline hdr body

In file included from                                               ^~~~
format_wav_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_db.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_wav_gsm.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_wav_gsm.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32   [CC] iCBSearch.c -> iCBSearch.o
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_waitforring.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_ulaw.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] format_g723.c -> format_g723.o
13 warnings generated.
   [CC] iLBC_decode.c -> iLBC_decode.o
13 warnings generated.
   [CC] invert.c -> invert.o
   [CC] res_timing_pthread.c -> res_timing_pthread.o
13 warnings generated.
   [CC] src/gsm_explode.c -> src/gsm_explode.o
13 warnings generated.
   [CC] astfd.c -> astfd.o
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_amd.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_forkcdr.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] pbx_config.o -> pbx_config.so
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_jpeg.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_jpeg.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_jpeg.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_phoneprov.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
18 warnings generated.
   [LD] pbx_loopback.o -> pbx_loopback.so
13 warnings generated.
   [CC] codec_ilbc.c -> codec_ilbc.o
   [CC] iLBC_encode.c -> iLBC_encode.o
   [CC] irc2pc.c -> irc2pc.o
   [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so
13 warnings generated.
   [CC] src/gsm_implode.c -> src/gsm_implode.o
13 warnings generated.
13 warnings generated.
   [CC] app_read.c -> app_read.o
   [CC] codec_g726.c -> codec_g726.o
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_g723.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_g723.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_g723.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] astmm.c -> astmm.o
13 warnings generated.
   [LD] pbx_ael.o -> pbx_ael.so
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning   [CC] format_g719.c -> format_g719.o
: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_timing_pthread.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] src/gsm_create.c -> src/gsm_create.o
   [CC] iLBC_test.c -> iLBC_test.o
   [CC] res_jabber.c -> res_jabber.o
   [CC] ivfilt.c -> ivfilt.o
13 warnings generated.
13 warnings generated.
   [CC] codec_a_mu.c -> codec_a_mu.o
   [CC] app_adsiprog.c -> app_adsiprog.o
   [LD] pbx_spool.o -> pbx_spool.so
   [LD] pbx_realtime.o -> pbx_realtime.so
   [CC] format_sln.c -> format_sln.o
   [CC] astobj2.c -> astobj2.o
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_g726.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_read.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from codec_g726.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_g726.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] src/gsm_print.c -> src/gsm_print.o
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_ilbc.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] format_h264.c -> format_h264.o
In file included from codec_ilbc.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_ilbc.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] LPCdecode.c -> LPCdecode.o
   [CC] res_curl.c -> res_curl.o
src/gsm_create.c:7:19: warning: unused variable 'ident' [-Wunused-const-variable]
static char const       ident[] = "$Header$";
                        ^
13 warnings generated.
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
   [CC] LPCencode.c -> LPCencode.o
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_g719.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
13 warnings generated.
1 warning generated.
   [CC] res_speech.c -> res_speech.o
   [CC] src/gsm_option.c -> src/gsm_option.o
In file included from format_g719.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_g719.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] audiohook.c -> audiohook.o
In file included from codec_a_mu.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_a_mu.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is hereIn file included from 
format_sln.c:33:
In file included from #define pthread_mutex_unlock            __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h
:        ^28
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :36codec_a_mu.c:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h34:23:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::55631::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :warning: 32'pthread_mutex_lock' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from /usr/include/pthread.h:codec_a_mu.c346::9:34 note: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
#define pthread_mutex_lock              __libc_mutex_lockIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:
32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hformat_sln.c::55933::
9In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::28:
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]36
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:
 warning        ^: 
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:345:9#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:
         ^
note/usr/include/pthread.h: :previous definition is here348
:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^#define pthread_mutex_unlock            __libc_mutex_unlock

In file included from         ^codec_a_mu.c
:In file included from 34format_sln.c::
33:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::2831:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h32::
23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::558:9560:: warning: 9'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:
 warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9:#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy 
note        ^: previous definition is here

/usr/include/pthread.h:349#define pthread_mutex_trylock           __libc_mutex_trylock
        ^:
9In file included from :format_sln.c: 33:
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hprevious definition is here:
28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
#define pthread_mutex_destroy           __libc_mutex_destroyIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h        ^:
23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcodec_a_mu.c::55934:9:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hwarning: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]
31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:
32        ^
:
/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::345561:9::9 note: :previous definition is here
 warning: #define pthread_mutex_init              __libc_mutex_init
'pthread_cond_init' macro redefined [-Wmacro-redefined]        ^

In file included from format_sln.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init28
:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h
:/usr/include/pthread.h36::
369In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 560previous definition is here:
9: warning: #define pthread_cond_init               __libc_cond_init'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]

        ^
In file included from codec_a_mu.c#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
:        ^34
:
/usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h349::931: :
note: In file included from previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_mutex_destroy           __libc_mutex_destroy:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^
:In file included from format_sln.c:33:
562In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9:36::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]23
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9:#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy 
warning        ^: 'pthread_cond_init' macro redefined [-Wmacro-redefined]

/usr/include/pthread.h:374:9#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:
         ^note
: /usr/include/pthread.hprevious definition is here:
369:9: note: #define pthread_cond_destroy            __libc_cond_destroyprevious definition is here

        ^
#define pthread_cond_init               __libc_cond_initIn file included from 
        ^codec_a_mu.c
:In file included from 34format_sln.c:
:In file included from 33/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:
:In file included from 31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:
:In file included from 28/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::3632:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563562::9:9 warning: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined] 
warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal: 
note:         ^previous definition is here

/usr/include/pthread.h:#define pthread_cond_destroy            __libc_cond_destroy370
:        ^9
:In file included from  format_sln.cnote:: 33previous definition is here:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36#define pthread_cond_signal             __libc_cond_signal:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:        ^23
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :563codec_a_mu.c::934: :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h'pthread_cond_signal' macro redefined [-Wmacro-redefined]:
31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
:        ^32
:
/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::370564::9:9 note::  previous definition is here
warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_sln.c:33#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h
:/usr/include/pthread.h28:
:In file included from 371/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::369:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564note:: 9previous definition is here:
 warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from 
codec_a_mu.c        ^:
34/usr/include/pthread.h:
:In file included from 371/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::9: note31: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_broadcast          __libc_cond_broadcast:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^
:In file included from format_sln.c565::339:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hwarning:: 28'pthread_cond_wait' macro redefined [-Wmacro-redefined]:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from #define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:        ^23:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/usr/include/pthread.h565::3729:: warning: 9'pthread_cond_wait' macro redefined [-Wmacro-redefined]
: #define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
note        ^
: /usr/include/pthread.hprevious definition is here:
372:9: note: #define pthread_cond_wait               __libc_cond_waitprevious definition is here

        ^
#define pthread_cond_wait               __libc_cond_wait
In file included from         ^codec_a_mu.c
:In file included from 34format_sln.c:
:In file included from 33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::28:
31In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3223:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::566566::9:9 :warning : warning'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 
'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait373
:9        ^:
 /usr/include/pthread.hnote: previous definition is here:
373:9:#define pthread_cond_timedwait          __libc_cond_timedwait 
note        ^: 
previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
In file included from         ^res_jabber.c
:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
In file included from codec_a_mu.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from #define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:        ^13
750 warnings generated.
:
/usr/include/pthread.h:346:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9::935 :note: 10previous definition is here
: warning#define pthread_mutex_lock              __libc_mutex_lock: 
        ^
array subscript is of type 'char' [-Wchar-subscripts]In file included from 
app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
                *pos = toupper(*pos);/usr/include/pthread.h
:                ~~~~~~~^~~~~~~~~~~~~~348:
9: /usr/include/sys/ctype_inline.hnote:: 60previous definition is here:
46: note#define pthread_mutex_unlock            __libc_mutex_unlock: 
expanded from macro 'toupper'        ^

In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)])):
127                                                  ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h21::
In file included from 52/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2347:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note558:: 9expanded from macro 'AST_INLINE_API':
 warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from In file included from codec_a_mu.capp_adsiprog.c::4234:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h21::
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h31::
23In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566::7509:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]994
:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^22
:/usr/include/pthread.h :warning373:: 9array subscript is of type 'char' [-Wchar-subscripts]: 
note:                 hash = hash * 33 ^ tolower(*str++);previous definition is here

                                   ^~~~~~~~~~~~~~~
#define pthread_cond_timedwait          __libc_cond_timedwait/usr/include/sys/ctype_inline.h
:        ^
59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from format_sln.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_sln.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] lpcdec.c -> lpcdec.o
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_jabber.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_adsiprog.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_adsiprog.c:211:54: warning: array subscript is of type 'char' [-Wchar-subscripts]
        } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower(src[1]) == 'x')) {
                                                            ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_adsiprog.c:221:39: warning: array subscript is of type 'char' [-Wchar-subscripts]
        } else if ((!ast_strlen_zero(src) && isdigit(src[0]))) {
                                             ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
app_adsiprog.c:1105:28: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
                        state->key->retstr[0] = 128;
                                              ~ ^~~
app_adsiprog.c:1141:26: warning: implicit conversion from 'int' to 'char' changes value from 130 to -126 [-Wconstant-conversion]
                        state->sub->data[0] = 130;
                                            ~ ^~~
app_adsiprog.c:1258:20: warning: implicit conversion from 'int' to 'char' changes value from 129 to -127 [-Wconstant-conversion]
                        disp->data[0] = 129;
                                      ~ ^~~
13 warnings generated.
   [CC] app_waitforsilence.c -> app_waitforsilence.o
13 warnings generated.
   [CC] autochan.c -> autochan.o
   [LD] format_sln16.o -> format_sln16.so
res_jabber.c:1367:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while (isspace(buf[pos+1])) {
                                       ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
   [CC] app_controlplayback.c -> app_controlplayback.o
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from format_h264.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from format_h264.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from format_h264.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from astobj2.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from astobj2.c:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from astobj2.c:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from audiohook.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_curl.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] lpcenc.c -> lpcenc.o
13 warnings generated.
   [LD] format_g729.o -> format_g729.so
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_waitforsilence.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] format_vox.o -> format_vox.so
13In file included from  warningres_speech.cs: generated.
34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_speech.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] lpcini.c -> lpcini.o
   [LD] format_wav.o -> format_wav.so
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from autochan.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] src/short_term.c -> src/short_term.o
13 warnings generated.
In file included from autochan.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from autochan.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_url.c -> app_url.o
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] autoservice.c -> autoservice.o
13 warnings generated.
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_controlplayback.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] lpfilt.c -> lpfilt.o
   [CC] src/table.c -> src/table.o
   [CC] lsf.c -> lsf.o
13 warnings generated.
13 warnings generated.
   [CC] median.c -> median.o
13 warnings generated.
   [CC] res_agi.c -> res_agi.o
   [LD] format_gsm.o -> format_gsm.so
   [CC] codec_lpc10.c -> codec_lpc10.o
18 warnings generated.
13 warnings generated.
   [CC] bridging.c -> bridging.o
   [LD] format_ilbc.o -> format_ilbc.so
   [CC] packing.c -> packing.o
   [CC] mload.c -> mload.o
   [CC] StateConstructW.c -> StateConstructW.o
   [LD] format_siren14.o -> format_siren14.so
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
   [CC] onset.c -> onset.o
In file included from app_url.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
src/short_term.c:67:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        STEP(  -2560,  -16,  13107 );
        ^      ~~~~~
src/short_term.c:60:32: note: expanded from macro 'STEP'
                temp1    = GSM_SUB( temp1, B << 1 );            \
                                           ~ ^
src/short_term.c:70:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        STEP(  -1792,   -8,  17476 );
        ^      ~~~~~
src/short_term.c:60:32: note: expanded from macro 'STEP'
                temp1    = GSM_SUB( temp1, B << 1 );            \
                                           ~ ^
src/short_term.c:71:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        STEP(   -341,   -4,  31454 );
        ^       ~~~~
src/short_term.c:60:32: note: expanded from macro 'STEP'
                temp1    = GSM_SUB( temp1, B << 1 );            \
                                           ~ ^
src/short_term.c:72:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        STEP(  -1144,   -4,  29708 );
        ^      ~~~~~
src/short_term.c:60:32: note: expanded from macro 'STEP'
                temp1    = GSM_SUB( temp1, B << 1 );            \
                                           ~ ^
   [CC] callerid.c -> callerid.o
   [CC] res_mutestream.c -> res_mutestream.o
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] codec_gsm.c -> codec_gsm.o
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from autoservice.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
14 warnings generated.
   [CC] StateSearchW.c -> StateSearchW.o
In file included from codec_lpc10.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]bridging.c
:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: /usr/include/pthread.h:note346:: previous definition is here9
: note: previous definition is here#define pthread_mutex_lock              __libc_mutex_lock

        ^
#define pthread_mutex_lock              __libc_mutex_lockIn file included from 
codec_lpc10.c        ^:
38:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.hbridging.c::3537:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h36:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h127::
In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
:21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h557:23::
9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h warning:: 557'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]:9
: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^

/usr/include/pthread.h:348:9: #define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlocknote
:         ^previous definition is here

/usr/include/pthread.h:348:9:#define pthread_mutex_unlock            __libc_mutex_unlock note: 
        ^
previous definition is hereIn file included from 
codec_lpc10.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h#define pthread_mutex_unlock            __libc_mutex_unlock:
35        ^:

In file included from In file included from bridging.c:37:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::12736:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
:In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:23558:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9:558 :warning9: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] 
warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:347:
9        ^
:/usr/include/pthread.h: 347note:: 9:previous definition is here 
note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
#define pthread_mutex_trylock           __libc_mutex_trylockIn file included from 
codec_lpc10.c        ^
:In file included from 38bridging.c:
In file included from :37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
:127:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2136:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2323:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:559::99::  warningwarning: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init        ^

        ^/usr/include/pthread.h
:/usr/include/pthread.h345::9345:: 9note::  previous definition is herenote
: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^#define pthread_mutex_init              __libc_mutex_init

In file included from         ^bridging.c
:In file included from codec_lpc10.c37::
In file included from 38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
:127In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3521:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h36:
:23In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:23560:
:9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 560warning:: 9'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:
 warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy:
        ^
9/usr/include/pthread.h::349: 9:note:  previous definition is herenote
: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^#define pthread_mutex_destroy           __libc_mutex_destroy

In file included from         ^
bridging.cIn file included from :37codec_lpc10.c:
In file included from :38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:
:In file included from 35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:3623:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23::
561/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5619:9: : warningwarning: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]'pthread_cond_init' macro redefined [-Wmacro-redefined]

#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init

        ^
        ^/usr/include/pthread.h
:/usr/include/pthread.h369:9: note:369: :previous definition is here9
: note: previous definition is here#define pthread_cond_init               __libc_cond_init

        ^
#define pthread_cond_init               __libc_cond_initIn file included from 
bridging.c        ^:
37In file included from :
codec_lpc10.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
38:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h::2135:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
:In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36::
562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9:23::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]562
:9: #define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
warning:         ^'pthread_cond_destroy' macro redefined [-Wmacro-redefined]

/usr/include/pthread.h:374:9: note: #define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^previous definition is here

/usr/include/pthread.h:374:#define pthread_cond_destroy            __libc_cond_destroy9
:        ^
 In file included from notebridging.c: :previous definition is here37
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_cond_destroy            __libc_cond_destroy:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
21:
In file included from In file included from codec_lpc10.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2338:
In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563::935::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :36'pthread_cond_signal' macro redefined [-Wmacro-redefined]:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
:563        ^
:/usr/include/pthread.h9:: warning: 370'pthread_cond_signal' macro redefined [-Wmacro-redefined]:
9: note: #define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
previous definition is here/usr/include/pthread.h
:370:9:#define pthread_cond_signal             __libc_cond_signal 
        ^note
: previous definition is hereIn file included from 
bridging.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_signal             __libc_cond_signal:
127        ^
:
In file included from codec_lpc10.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h38::
21:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h23::
35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
:564:In file included from 9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:23: :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:564:
9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast

        ^
/usr/include/pthread.h:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast371:
9        ^
: note: /usr/include/pthread.hprevious definition is here:
371:9: #define pthread_cond_broadcast          __libc_cond_broadcastnote: 
previous definition is here
        ^
In file included from bridging.c:#define pthread_cond_broadcast          __libc_cond_broadcast
37:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :codec_lpc10.c:38127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:21::
35:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::2336:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:23:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:5659::9 : warningwarning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 
'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait        ^

        ^/usr/include/pthread.h:
372/usr/include/pthread.h::9: 372note: :9:previous definition is here 
note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
#define pthread_cond_wait               __libc_cond_waitIn file included from bridging.c
:        ^37
:
In file included from codec_lpc10.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h38::
127In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2135:
In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::36:
23In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23::
566/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9566: :warning: 9'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:
 warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
373        ^:
9/usr/include/pthread.h::373 :note9: :previous definition is here 
note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
#define pthread_cond_timedwait          __libc_cond_timedwait        ^

        ^
In file included from codec_lpc10.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_lpc10.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from bridging.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from bridging.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_agi.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] app_originate.c -> app_originate.o
4 warnings generated.
   [AR] src/add.o src/code.o src/debug.o src/decode.o src/long_term.o src/lpc.o src/preprocess.o src/rpe.o src/gsm_destroy.o src/gsm_decode.o src/gsm_encode.o src/gsm_explode.o src/gsm_implode.o src/gsm_create.o src/gsm_print.o src/gsm_option.o src/short_term.o src/table.o -> lib/libgsm.a
   [CC] res_monitor.c -> res_monitor.o
   [LD] format_h263.o -> format_h263.so
   [CC] res_musiconhold.c -> res_musiconhold.o
13 warnings generated.
   [CC] res_stun_monitor.c -> res_stun_monitor.o
   [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
13 warnings generated.
   [CC] app_authenticate.c -> app_authenticate.o
   [CC] codec_speex.c -> codec_speex.o
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] format_siren7.o -> format_siren7.so
   [CC] syntFilter.c -> syntFilter.o
   [CC] pitsyn.c -> pitsyn.o
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from callerid.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_mutestream.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from callerid.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from callerid.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
callerid.c:237:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (isdigit(cidstring[i]))
                            ^~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
callerid.c:244:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        } else if (isdigit(cidstring[0])) {
                   ^~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
callerid.c:250:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (isdigit(cidstring[i]))
                            ^~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
   [LD] format_g726.o -> format_g726.so
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_gsm.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from codec_gsm.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_gsm.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_monitor.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_monitor.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_monitor.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [LD] format_pcm.o -> format_pcm.so
   [CC] placea.c -> placea.o
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563   [LD] format_wav_gsm.o -> format_wav_gsm.so
:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_authenticate.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_originate.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_authenticate.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_authenticate.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_musiconhold.c:49:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_stun_monitor.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
In file included from #define pthread_mutex_lock              __libc_mutex_lockcodec_speex.c
:        ^52
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:res_stun_monitor.c35::
34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3123:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h556::932::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557warning: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]9:
 warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_stun_monitor.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock

        ^
/usr/include/pthread.h:347:9: note: previous definition is here/usr/include/pthread.h
:346:9:#define pthread_mutex_trylock           __libc_mutex_trylock 
note:         ^previous definition is here

In file included from res_stun_monitor.c#define pthread_mutex_lock              __libc_mutex_lock:
34        ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31In file included from :
In file included from codec_speex.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:52::
32In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::35:
559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:936::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23'pthread_mutex_init' macro redefined [-Wmacro-redefined]:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:557:9: warning: #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]        ^

/usr/include/pthread.h:345:9:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
         ^note: 
previous definition is here/usr/include/pthread.h:348
:9: #define pthread_mutex_init              __libc_mutex_initnote
: previous definition is here
        ^
In file included from res_stun_monitor.c#define pthread_mutex_unlock            __libc_mutex_unlock:
34        ^
:
In file included from In file included from codec_speex.c:52:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h31::
35In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::
36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23:
560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5589:: 9:warning:  warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]

#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock

        ^        ^

/usr/include/pthread.h/usr/include/pthread.h::347349::99: : notenote: : previous definition is here
previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
#define pthread_mutex_destroy           __libc_mutex_destroyIn file included from 
codec_speex.c        ^
:52In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.hres_stun_monitor.c::3534:
In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:
:In file included from 31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
In file included from :23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::32559::
9: warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]:
561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init

        ^
/usr/include/pthread.h:345:9#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:
         ^note
: /usr/include/pthread.hprevious definition is here
:369:9: #define pthread_mutex_init              __libc_mutex_initnote
:         ^
previous definition is hereIn file included from codec_speex.c
:52:
#define pthread_cond_init               __libc_cond_initIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:        ^35:

In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hres_stun_monitor.c:36::
34In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h9:31: :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:32:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy562
        ^:
9/usr/include/pthread.h:: 349warning:: 9'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: 
note: previous definition is here
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
#define pthread_mutex_destroy           __libc_mutex_destroy/usr/include/pthread.h
:        ^
374In file included from :codec_speex.c9:52:
:In file included from  note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.hprevious definition is here:
35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_cond_destroy            __libc_cond_destroy:
36        ^:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:In file included from 23res_stun_monitor.c:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:34561:
:9In file included from : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]31
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^563:
9/usr/include/pthread.h::369: 9: notewarning: : previous definition is here'pthread_cond_signal' macro redefined [-Wmacro-redefined]

#define pthread_cond_init               __libc_cond_init
        ^#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal

        ^
In file included from /usr/include/pthread.hcodec_speex.c::37052:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:: 35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hnote:: 36previous definition is here:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal             __libc_cond_signal:
562        ^:9: 
warning: In file included from 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]res_stun_monitor.c
:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroyIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^
:/usr/include/pthread.h32:374::
9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 564note:: 9previous definition is here
: warning: #define pthread_cond_destroy            __libc_cond_destroy'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]

        ^
In file included from codec_speex.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast:
35        ^:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/usr/include/pthread.h:36::
371In file included from :9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote:: 23previous definition is here:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning#define pthread_cond_broadcast          __libc_cond_broadcast: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]

        ^
In file included from res_stun_monitor.c:34:
In file included from #define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:
31        ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h370::9565: :note9: :previous definition is here 
warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from codec_speex.c:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait52:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h        ^:
35/usr/include/pthread.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::37236::
In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23:
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote: :previous definition is here564
:9: warning: #define pthread_cond_wait               __libc_cond_wait'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]

        ^
In file included from res_stun_monitor.c:34:
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h        ^:31
:
/usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h371::329:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note566: :previous definition is here
9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]#define pthread_cond_broadcast          __libc_cond_broadcast

        ^
In file included from codec_speex.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait35
:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h
:/usr/include/pthread.h36::
In file included from 373/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:565: :9previous definition is here:
 warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from codec_speex.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_musiconhold.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_musiconhold.c:51:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_stun_monitor.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_stun_monitor.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] res_calendar.c -> res_calendar.o
In file included from codec_speex.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from codec_speex.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^res_musiconhold.c
:In file included from 1378res_rtp_asterisk.c::5044:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hwarning: :array subscript is of type 'char' [-Wchar-subscripts]26
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127                                else if (!strcasecmp(tmp->name, "digit") && (isdigit(*tmp->value) || strchr("*#", *tmp->value))):

In file included from                                                                              ^~~~~~~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21
:
/usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:5123::
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h44::566: 9:note : warningexpanded from macro 'isdigit'
: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait

        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_playtones.c -> app_playtones.o
13 warnings generated.
res_musiconhold.c:1717:49: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        else if (!strcasecmp(var->name, "digit") && (isdigit(*var->value) || strchr("*#", *var->value)))
                                                                     ^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_rtp_asterisk.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] ccss.c -> ccss.o
13 warnings generated.
   [LD] format_jpeg.o -> format_jpeg.so
res_rtp_asterisk.c:1192:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                        if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) {
                            ^
res_rtp_asterisk.c:1192:8: note: remove the call to 'abs' since unsigned values cannot be negative
                        if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) {
                            ^~~
res_rtp_asterisk.c:1195:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                                ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms);
                                                                             ^
res_rtp_asterisk.c:1195:50: note: remove the call to 'abs' since unsigned values cannot be negative
                                ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms);
                                                                             ^~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^
res_rtp_asterisk.c:1206:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                        if (abs(rtp->lastts - pred) < 7200) {
                            ^
res_rtp_asterisk.c:1206:8: note: remove the call to 'abs' since unsigned values cannot be negative
                        if (abs(rtp->lastts - pred) < 7200) {
                            ^~~
res_rtp_asterisk.c:1210:81: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                                ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples);
                                                                                                            ^
res_rtp_asterisk.c:1210:81: note: remove the call to 'abs' since unsigned values cannot be negative
                                ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples);
                                                                                                            ^~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^
res_rtp_asterisk.c:1220:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                        if (abs(rtp->lastts - pred) < 7200) {
                            ^
res_rtp_asterisk.c:1220:8: note: remove the call to 'abs' since unsigned values cannot be negative
                        if (abs(rtp->lastts - pred) < 7200) {
                            ^~~
res_rtp_asterisk.c:1224:76: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
                                ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples);
                                                                                                       ^
res_rtp_asterisk.c:1224:76: note: remove the call to 'abs' since unsigned values cannot be negative
                                ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples);
                                                                                                       ^~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug'
                ast_log(AST_LOG_DEBUG, __VA_ARGS__); \
                                       ^
   [CC] cdr.c -> cdr.o
13 warnings generated.
   [CC] app_setcallerid.c -> app_setcallerid.o
13 warnings generated.
13 warnings generated.
   [CC] res_fax.c -> res_fax.o
   [CC] cel.c -> cel.o
   [AR] anaFilter.o constants.o createCB.o doCPLC.o enhancer.o filter.o FrameClassify.o gainquant.o getCBvec.o helpfun.o hpInput.o hpOutput.o iCBConstruct.o iCBSearch.o iLBC_decode.o iLBC_encode.o iLBC_test.o LPCdecode.o LPCencode.o lsf.o packing.o StateConstructW.o StateSearchW.o syntFilter.o -> libilbc.a
13 warnings generated.
   [CC] placev.c -> placev.o
   [LD] format_g723.o -> format_g723.so
13 warnings generated.
   [CC] app_celgenuserevent.c -> app_celgenuserevent.o
   [CC] res_limit.c -> res_limit.o
   [CC] preemp.c -> preemp.o
   [LD] format_g719.o -> format_g719.so
   [LD] format_sln.o -> format_sln.so
15 warnings generated.
   [CC] prepro.c -> prepro.o
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cdr.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cdr.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cdr.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_playtones.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_calendar.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ccss.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_queue.c -> app_queue.o
In file included from ccss.c:33:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ccss.c:33:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
res_calendar.c:1030:24: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        int event_startdiff = abs(start - event->start);
                              ^
res_calendar.c:1030:24: note: use function 'labs' instead
        int event_startdiff = abs(start - event->start);
                              ^~~
                              labs
res_calendar.c:1031:22: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        int event_enddiff = abs(end - event->end);
                            ^
res_calendar.c:1031:22: note: use function 'labs' instead
        int event_enddiff = abs(end - event->end);
                            ^~~
                            labs
res_calendar.c:1044:20: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                        int startdiff = abs(iter->event->start - start);
                                        ^
res_calendar.c:1044:20: note: use function 'labs' instead
                        int startdiff = abs(iter->event->start - start);
                                        ^~~
                                        labs
res_calendar.c:1053:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                                int enddiff = abs(iter->event->end - end);
                                              ^
res_calendar.c:1053:19: note: use function 'labs' instead
                                int enddiff = abs(iter->event->end - end);
                                              ^~~
                                              labs
ccss.c:703:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
        if (!sscanf(value, "%30u", &value_as_uint) == 1) {
            ^                                      ~~
ccss.c:703:6: note: add parentheses after the '!' to evaluate the comparison first
        if (!sscanf(value, "%30u", &value_as_uint) == 1) {
            ^
             (                                         )
ccss.c:703:6: note: add parentheses around left hand side expression to silence this warning
        if (!sscanf(value, "%30u", &value_as_uint) == 1) {
            ^
            (                                     )
In file included from app_celgenuserevent.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
In file included from #define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lockapp_setcallerid.c
:        ^
37:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: /usr/include/pthread.h'pthread_mutex_lock' macro redefined [-Wmacro-redefined]:
346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_celgenuserevent.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock

        ^
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock/usr/include/pthread.h
:        ^346
:/usr/include/pthread.h9:348: :note9: :previous definition is here
 note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
#define pthread_mutex_unlock            __libc_mutex_unlockIn file included from 
app_setcallerid.c        ^:
37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_celgenuserevent.c::55734::
9:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hwarning:: 31'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:
9:        ^
 /usr/include/pthread.hwarning:: 348'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:
9: note: previous definition is here
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
#define pthread_mutex_unlock            __libc_mutex_unlock/usr/include/pthread.h
:        ^
347In file included from app_setcallerid.c::937::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 558previous definition is here
:9: warning#define pthread_mutex_trylock           __libc_mutex_trylock: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]

        ^
In file included from app_celgenuserevent.c:34#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31
:
/usr/include/pthread.hIn file included from :347/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::329:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 559note:: 9previous definition is here:
 warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_initapp_setcallerid.c
:        ^
37/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h345:559:9:9::  notewarning: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]previous definition is here

#define pthread_mutex_init              __libc_mutex_init
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init        ^

        ^In file included from 
app_celgenuserevent.c/usr/include/pthread.h::34534::
In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::31 :
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hprevious definition is here:
32:
#define pthread_mutex_init              __libc_mutex_init
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^:
560:9:In file included from  app_setcallerid.cwarning:: 37'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9:#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy 
warning        ^
: /usr/include/pthread.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:
349:9: note: previous definition is here#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy

        ^
/usr/include/pthread.h#define pthread_mutex_destroy           __libc_mutex_destroy:
349:        ^9
: In file included from noteapp_celgenuserevent.c: :previous definition is here34
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from #define pthread_mutex_destroy           __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:        ^
32In file included from :
app_setcallerid.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h37::
561:9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 561warning:9: :'pthread_cond_init' macro redefined [-Wmacro-redefined] 
warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init

        ^/usr/include/pthread.h
:/usr/include/pthread.h:369369:9::9 :note note: : previous definition is hereprevious definition is here

#define pthread_cond_init               __libc_cond_init#define pthread_cond_init               __libc_cond_init

        ^        ^

In file included from In file included from app_setcallerid.capp_celgenuserevent.c:37::
34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h562::319:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:warning32: :
'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:562:9: #define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
warning        ^: 
'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:374:9: note#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy: 
previous definition is here        ^

/usr/include/pthread.h:374#define pthread_cond_destroy            __libc_cond_destroy
:        ^9
: In file included from note: previous definition is hereapp_setcallerid.c:
37:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_destroy            __libc_cond_destroy:563
:        ^9
:In file included from  app_celgenuserevent.cwarning:: 34'pthread_cond_signal' macro redefined [-Wmacro-redefined]
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal31
:
        ^
In file included from /usr/include/pthread.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h370:9::32:
 note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here
563:9: #define pthread_cond_signal             __libc_cond_signalwarning
:         ^'pthread_cond_signal' macro redefined [-Wmacro-redefined]

In file included from app_setcallerid.c:37:
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^564
:/usr/include/pthread.h9:370: warning:: 9'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:
 note: previous definition is here#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast

        ^
/usr/include/pthread.h:#define pthread_cond_signal             __libc_cond_signal
371        ^:
9:In file included from  app_celgenuserevent.cnote:34: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31#define pthread_cond_broadcast          __libc_cond_broadcast
:
        ^
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.happ_setcallerid.c:32::
37:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::565564::9:9 warning::  'pthread_cond_wait' macro redefined [-Wmacro-redefined]
warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
9        ^:
 /usr/include/pthread.hnote:: 371previous definition is here:
9: note#define pthread_cond_wait               __libc_cond_wait: 
previous definition is here        ^

In file included from app_setcallerid.c:37#define pthread_cond_broadcast          __libc_cond_broadcast:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:        ^566
:In file included from app_celgenuserevent.c9::34 warning:
: In file included from 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h
:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^:
565/usr/include/pthread.h:9::373 :warning9: :'pthread_cond_wait' macro redefined [-Wmacro-redefined] 
note: previous definition is here
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^#define pthread_cond_timedwait          __libc_cond_timedwait

/usr/include/pthread.h        ^
:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_celgenuserevent.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_celgenuserevent.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_celgenuserevent.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [LD] format_h264.o -> format_h264.so
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
In file included from app_setcallerid.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9:                *pos = toupper(*pos); 
note                ~~~~~~~^~~~~~~~~~~~~~: 
previous definition is here
/usr/include/sys/ctype_inline.h:60#define pthread_mutex_lock              __libc_mutex_lock:
46        ^:
 noteIn file included from : res_fax.cexpanded from macro 'toupper':
45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)])):

In file included from                                                   ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h52:557   [CC] channel.c -> channel.o
::479::  note: warningexpanded from macro 'AST_INLINE_API': 
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
In file included from #define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockapp_setcallerid.c:
39        ^
:
/usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h347::1449:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:note: 30previous definition is here
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750#define pthread_mutex_trylock           __libc_mutex_trylock:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h        ^:994:
22In file included from :res_fax.c: 45warning: :
array subscript is of type 'char' [-Wchar-subscripts]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
                hash = hash * 33 ^ tolower(*str++);In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h                                   ^~~~~~~~~~~~~~~
:/usr/include/sys/ctype_inline.h:5932:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h46::559 :9note::  expanded from macro 'tolower'warning
: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_fax.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cel.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note:    [CC] app_record.c -> app_record.o
previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
cel.c:294:25: warning: comparison of constant -1 with expression of type 'enum ast_cel_event_type' is always false [-Wtautological-constant-out-of-range-compare]
                } else if (event_type == -1) {
                           ~~~~~~~~~~ ^  ~~
cel.c:419:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (flag < 0 || flag >= ARRAY_LEN(cel_ama_flags)) {
            ~~~~ ^ ~
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_limit.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
res_limit.c:196:42: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                ast_cli(a->fd, "%c%s (%s) is %s.\n", toupper(desc[0]), desc + 1, a->argv[1], printlimit);
                                                                     ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] res_ael_share.c -> res_ael_share.o
13 warnings generated.
   [CC] chanvars.c -> chanvars.o
   [LD] codec_alaw.o -> codec_alaw.so
   [CC] app_dial.c -> app_dial.o
14 warnings generated.
   [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so
19 warnings generated.
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
   [CC] app_speech_utils.c -> app_speech_utils.o
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_queue.c:73:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_queue.c:75:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_queue.c:75:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22   [CC] cli.c -> cli.o
: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] random.c -> random.o
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from channel.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_queue.c:2817:16: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        avgholdmins = abs(((qe->parent->holdtime + 30) - (now - qe->start)) / 60);
                      ^
app_queue.c:2817:16: note: use function 'labs' instead
        avgholdmins = abs(((qe->parent->holdtime + 30) - (now - qe->start)) / 60);
                      ^~~
                      labs
app_queue.c:2821:18: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                avgholdsecs = (abs(((qe->parent->holdtime + 30) - (now - qe->start))) - 60 * avgholdmins) / qe->parent->roundingseconds;
                               ^
app_queue.c:2821:18: note: use function 'labs' instead
                avgholdsecs = (abs(((qe->parent->holdtime + 30) - (now - qe->start))) - 60 * avgholdmins) / qe->parent->roundingseconds;
                               ^~~
                               labs
15 warnings generated.
   [CC] app_channelredirect.c -> app_channelredirect.o
app_queue.c:5021:18: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                                                holdtime = abs((now - qe->start) / 60);
                                                           ^
app_queue.c:5021:18: note: use function 'labs' instead
                                                holdtime = abs((now - qe->start) / 60);
                                                           ^~~
                                                           labs
app_queue.c:5022:22: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                                                holdtimesecs = abs((now - qe->start) % 60);
                                                               ^
app_queue.c:5022:22: note: use function 'labs' instead
                                                holdtimesecs = abs((now - qe->start) % 60);
                                                               ^~~
                                                               labs
app_queue.c:5123:19: warning: address of array 'qe->parent->monfmt' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (qe->parent->monfmt && *qe->parent->monfmt) {
                    ~~~~~~~~~~~~^~~~~~ ~~
   [LD] codec_adpcm.o -> codec_adpcm.so
channel.c:1739:17: warning: address of array 'cmp_args->context' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (cmp_args->context && strcasecmp(chan->context, cmp_args->context) &&
                    ~~~~~~~~~~^~~~~~~ ~~
app_queue.c:7460:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*list)) {
               ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_queue.c:7469:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (!isspace(*list) && *list != '\0') {
                                ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_queue.c:7473:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (isspace(*list)) {
                               ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_queue.c:7486:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (!isspace(*list) && *list != '\0') {
                                ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_queue.c:7490:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (isspace(*list)) {
                               ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
app_queue.c:8490:19: warning: unused variable 'qpm_cmd_usage' [-Wunused-const-variable]
static const char qpm_cmd_usage[] = 
                  ^
app_queue.c:8493:19: warning: unused variable 'qum_cmd_usage' [-Wunused-const-variable]
static const char qum_cmd_usage[] =
                  ^
app_queue.c:8496:19: warning: unused variable 'qsmp_cmd_usage' [-Wunused-const-variable]
static const char qsmp_cmd_usage[] =
                  ^
channel.c:4284:29: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                        } else if ((f->frametype == AST_FRAME_VOICE)) {
                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
channel.c:4284:29: note: remove extraneous parentheses around the comparison to silence this warning
                        } else if ((f->frametype == AST_FRAME_VOICE)) {
                                   ~             ^                 ~
channel.c:4284:29: note: use '=' to turn this equality comparison into an assignment
                        } else if ((f->frametype == AST_FRAME_VOICE)) {
                                                 ^~
                                                 =
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_record.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from chanvars.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] config.c -> config.o
In file included from chanvars.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from chanvars.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_speech_utils.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60In file included from :46app_speech_utils.c::37 :
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:expanded from macro 'toupper'144:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))750:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:                                                  ^994:
22: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hwarning: :array subscript is of type 'char' [-Wchar-subscripts]52
:47:                 hash = hash * 33 ^ tolower(*str++);
note                                   ^~~~~~~~~~~~~~~
: /usr/include/sys/ctype_inline.h:59:46expanded from macro 'AST_INLINE_API':
 note: expanded from macro 'tolower'
# define AST_INLINE_API(hdr, body) inline hdr body
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                              ^~~~                                                  ^~~~

In file included from res_ael_share.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
13 warnings generated.
   [CC] ael/ael_lex.c -> ael/ael_lex.o
17 warnings generated.
   [LD] codec_ulaw.o -> codec_ulaw.so
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_dial.c:44:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_ices.c -> app_ices.o
In file included from app_dial.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_dial.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
13 warnings#define pthread_mutex_init              __libc_mutex_init
 generated.
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from    [CC] rcchk.c -> rcchk.o
cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from cli.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from cli.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from cli.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
14 warnings generated.
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_channelredirect.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] app_chanspy.c -> app_chanspy.o
   [CC] synths.c -> synths.o
   [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so
cli.c:2287:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (isspace(*s)) {
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
cli.c:2400:32: warning: array subscript is of type 'char' [-Wchar-subscripts]
                for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++)
                                             ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
cli.c:2400:55: warning: array subscript is of type 'char' [-Wchar-subscripts]
                for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++)
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] data.c -> data.o
13 warnings generated.
   [LD] codec_g726.o -> codec_g726.so
13 warnings generated.
   [CC] app_echo.c -> app_echo.o
13 warnings generated.
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] codec_a_mu.o -> codec_a_mu.so
   [CC] datastore.c -> datastore.o
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from config.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] ael/ael.tab.c -> ael/ael.tab.o
   [CC] app_zapateller.c -> app_zapateller.o
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ael.flex:84:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_ices.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_ices.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_ices.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_chanspy.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_chanspy.c:959:12: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                                *s = tolower(*s);
                                                     ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from datastore.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] tbdm.c -> tbdm.o
In file included from datastore.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from datastore.c:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] db.c -> db.o
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from data.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ael.y:34:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
16 warnings generated.
13 warnings generated.
In file included from ael.y:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ael.y:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] ael/pval.c -> ael/pval.o
   [LD] codec_speex.o -> codec_speex.so
13 warnings generated.
   [CC] voicin.c -> voicin.o
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_echo.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_zapateller.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_zapateller.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_zapateller.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_followme.c -> app_followme.o
13 warnings generated.
16 warnings generated.
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] res_clioriginate.c -> res_clioriginate.o
   [CC] app_verbose.c -> app_verbose.o
14 warnings generated.
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from db.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] devicestate.c -> devicestate.o
13 warnings generated.
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
   [CC] vparms.c -> vparms.o
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ael/pval.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
ael/pval.c:860:16: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while (*e && !isdigit(*e)) 
                      ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
   [CC] app_playback.c -> app_playback.o
ael/pval.c:3556:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while (*strp2 && isspace(*strp2))
                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
ael/pval.c:3560:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        while (*strp3 && isspace(*strp3))
                                                         ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
ael/pval.c:3610:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while (*strp2 && isspace(*strp2))
                                                 ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
ael/pval.c:3614:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        while (*strp3 && isspace(*strp3))
                                                         ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
13 warnings generated.
13 warning   [CC] res_config_curl.c -> res_config_curl.o
s generated.
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [CC] app_directory.c -> app_directory.o
   [CC] dial.c -> dial.o
13 warnings generated.
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_clioriginate.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] dns.c -> dns.o
   [CC] app_disa.c -> app_disa.o
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_verbose.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_followme.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from devicestate.c:125:
In file included from    [CC] app_mp3.c -> app_mp3.o
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_followme.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_followme.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from devicestate.c:125:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
devicestate.c:230:31: warning: comparison of constant -100 with expression of type 'const enum ast_channel_state' is always true [-Wtautological-constant-out-of-range-compare]
        for (i = 0; chan2dev[i].chan != -100; i++) {
                    ~~~~~~~~~~~~~~~~ ^  ~~~~
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_playback.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] dnsmgr.c -> dnsmgr.o
   [AR] f2clib.o analys.o bsynz.o chanwr.o dcbias.o decode.o deemp.o difmag.o dyptrk.o encode.o energy.o ham84.o hp100.o invert.o irc2pc.o ivfilt.o lpcdec.o lpcenc.o lpcini.o lpfilt.o median.o mload.o onset.o pitsyn.o placea.o placev.o preemp.o prepro.o random.o rcchk.o synths.o tbdm.o voicin.o vparms.o -> liblpc10.a
13 warnings generated.
13 warnings generated.
   [CC] res_rtp_multicast.c -> res_rtp_multicast.o
   [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so
   [CC] dsp.c -> dsp.o
13 warnings generated.
   [CC] res_clialiases.c -> res_clialiases.o
In file included from dns.c:44:
In file included from In file included from dial.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::37127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2321:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h556::923::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]556
:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^#define pthread_mutex_lock              __libc_mutex_lock

        ^
In file included from dns.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h/usr/include/pthread.h::348:3469::9 :note: previous definition is here 
note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
#define pthread_mutex_lock              __libc_mutex_lockIn file included from 
dns.c        ^:
44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from In file included from dial.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3721:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23127:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h558::219:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: #define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockwarning
:         ^
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:347:9: note: previous definition is here#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock

        ^
#define pthread_mutex_trylock           __libc_mutex_trylock
/usr/include/pthread.h        ^
:In file included from dns.c348::449:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:note127: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_mutex_unlock            __libc_mutex_unlock:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hdial.c::559:379:
:In file included from  warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]127
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:/usr/include/pthread.h23:345:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9:: 558note:: previous definition is here9
: warning: #define pthread_mutex_init              __libc_mutex_init
'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]        ^

In file included from dns.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^:21
:
In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23347:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::560: 9note: : warningprevious definition is here: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]

#define pthread_mutex_trylock           __libc_mutex_trylock
        ^#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy

        ^In file included from 
dial.c/usr/include/pthread.h::37349:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note:
: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:21:
#define pthread_mutex_destroy           __libc_mutex_destroy
In file included from         ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :dns.c:4423:
In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::127559:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:921::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :23:
'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:561:9#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init: 
warning        ^: 
'pthread_cond_init' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init345
        ^:
9/usr/include/pthread.h:: 369:note9: :previous definition is here note: 
previous definition is here
#define pthread_mutex_init              __libc_mutex_init
#define pthread_cond_init               __libc_cond_init        ^

        ^
In file included from In file included from dns.c:dial.c44::
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h37::
127In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21:
127In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21::
562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9::23 :
warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
560:#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy9
        ^:
 /usr/include/pthread.hwarning:: 374'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:9: 
note: previous definition is here
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
#define pthread_cond_destroy            __libc_cond_destroy
        ^
        ^In file included from 
dns.c:/usr/include/pthread.h44::
349In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21previous definition is here:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
#define pthread_mutex_destroy           __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^563:
9:In file included from  dial.cwarning:: 37'pthread_cond_signal' macro redefined [-Wmacro-redefined]:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^
:/usr/include/pthread.h21::
370:9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :note23: :
previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_signal             __libc_cond_signal
561        ^:
9In file included from :dns.c :warning44: :
'pthread_cond_init' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:127:
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:21:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h:23::
369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9564::9 : notewarning: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]previous definition is here

#define pthread_cond_init               __libc_cond_init#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast

        ^        ^

/usr/include/pthread.h:371In file included from :dial.c9:: 37note:
: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:127:
#define pthread_cond_broadcast          __libc_cond_broadcastIn file included from 
        ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :dns.c21:44:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::12723:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21:
:In file included from 562/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::239:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning565: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]9:
 warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait        ^

        ^/usr/include/pthread.h
:/usr/include/pthread.h374::3729::9:  notenote: : previous definition is hereprevious definition is here

#define pthread_cond_wait               __libc_cond_wait
        ^
#define pthread_cond_destroy            __libc_cond_destroyIn file included from 
dns.c        ^:
44:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hdial.c:127::
37In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
:In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:
:In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:21566:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning:
: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:563#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
:        ^9
:/usr/include/pthread.h :warning373: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9
: note: previous definition is here
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
#define pthread_cond_timedwait          __libc_cond_timedwait/usr/include/pthread.h
:        ^370
:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from dial.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from dial.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from dial.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from dns.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from dns.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from dial.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from dial.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
14 warnings generated.
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:   [CC] enum.c -> enum.o
9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_parkandannounce.c -> app_parkandannounce.o
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_directory.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_config_curl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_directory.c:178:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                digit = toupper(*text++);
                        ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_disa.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from dnsmgr.c::449:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23: :
'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal/usr/include/pthread.h
:        ^371
:/usr/include/pthread.h9::370 :9note: : noteprevious definition is here: 
previous definition is here
#define pthread_cond_signal             __libc_cond_signal
#define pthread_cond_broadcast          __libc_cond_broadcast        ^

        ^
In file included from dnsmgr.cIn file included from :44app_disa.c:
:40In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23565:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::564 :warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]9
: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast/usr/include/pthread.h
:        ^372:
9/usr/include/pthread.h:: 371note:: 9previous definition is here: 
note: #define pthread_cond_wait               __libc_cond_waitprevious definition is here

        ^
In file included from #define pthread_cond_broadcast          __libc_cond_broadcastapp_disa.c
:        ^40
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hdnsmgr.c:566::449:
:In file included from  warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :23'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait:
         ^warning
: /usr/include/pthread.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]:373
:9: note#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait: 
previous definition is here        ^

/usr/include/pthread.h#define pthread_cond_timedwait          __libc_cond_timedwait:
372        ^:
9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from dnsmgr.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_mp3.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from dnsmgr.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
In file included from # define AST_INLINE_API(hdr, body) inline hdr bodyres_rtp_multicast.c
:                                              ^~~~44
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
dnsmgr.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock

                                                  ^~~~        ^

/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here   [CC] event.c -> event.o

#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_disa.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_disa.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_mp3.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_mp3.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_rtp_multicast.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from dsp.c:53:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [CC] res_security_log.c -> res_security_log.o
In file included from dsp.c:54:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from dsp.c:54:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_clialiases.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] features.c -> features.o
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from enum.c:68:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] res_timing_kqueue.o -> res_timing_kqueue.so
13 warnings generated.
dsp.c:341:20: warning: unused function 'goertzel_update' [-Wunused-function]
static inline void goertzel_update(goertzel_state_t *s, short *samps, int count)
                   ^
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_parkandannounce.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
enum.c:216:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isdigit(*p2)) {
                    ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
   [CC] app_getcpeid.c -> app_getcpeid.o
enum.c:303:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                                (unsigned char *)answer, c->apex, sizeof(c->apex) - 1)) < 0) {
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
enum.c:345:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isdigit(*p2)) {
                    ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
13 warnings generated.
enum.c:454:6: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (tolower(flags[0]) != 'u') {
            ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
enum.c:537:29: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if ((subst[0] == '\\') && isdigit(subst[1])) { /* is this character the beginning of a backreference */
                                          ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
enum.c:559:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
                } else if (isprint(*subst)) {
                           ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint'
#define isprint(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R))
                                                ^~~~
enum.c:816:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (isdigit(*p2)) {
                            ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
enum.c:835:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isdigit(*p2)) {
                    ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
   [CC] file.c -> file.o
13 warnings generated.
enum.c:946:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isdigit(number[pos])) {
                    ^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
13 warnings generated.
14 warnings generated.
   [CC] app_readexten.c -> app_readexten.o
26 warnings generated.
   [CC] fixedjitterbuf.c -> fixedjitterbuf.o
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning:    [CC] frame.c -> frame.o
'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from event.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
15 warnings generated.
   [CC] framehook.c -> framehook.o
In file included from event.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from event.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
event.c:280:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (type < 0 || type >= ARRAY_LEN(event_names)) {
            ~~~~ ^ ~
   [CC] app_senddtmf.c -> app_senddtmf.o
event.c:718:17: warning: comparison of constant -1 with expression of type 'enum ast_event_type' is always false [-Wtautological-constant-out-of-range-compare]
        if (event_type == -1)
            ~~~~~~~~~~ ^  ~~
event.c:744:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (type < 0 || type >= AST_EVENT_TOTAL) {
            ~~~~ ^ ~
13 warnings generated.
   [CC] app_while.c -> app_while.o
18 warnings generated.
   [CC] fskmodem.c -> fskmodem.o
13 warnings generated.
   [CC] global_datastores.c -> global_datastores.o
   [CC] hashtab.c -> hashtab.o
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from features.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from frame.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from In file included from features.capp_getcpeid.c::4436:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h556:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::9750:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning:935:10: : warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]array subscript is of type 'char' [-Wchar-subscripts]

                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
In file included from features.c:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock44
:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:144:
In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::34830::
In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hnote:994: :22previous definition is here:
 warning: array subscript is of type 'char' [-Wchar-subscripts]
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^                hash = hash * 33 ^ tolower(*str++);

                                   ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/ctype_inline.h:59:46app_getcpeid.c::36 note:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hexpanded from macro 'tolower'
:558:9: #define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))warning
:                                                   ^~~~'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]

#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_getcpeid.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from frame.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from frame.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
22 warnings generated.
In file included from app_getcpeid.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_getcpeid.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] res_smdi.o -> res_smdi.so
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_readexten.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from res_security_log.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from framehook.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :fixedjitterbuf.c559::938: :
warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]:
32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init:9
:         ^warning
: /usr/include/pthread.h'pthread_mutex_lock' macro redefined [-Wmacro-redefined]:345
:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock:26:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h        ^:
127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21/usr/include/pthread.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23346:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9560:: 9note::  previous definition is herewarning
: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock              __libc_mutex_lock
        ^
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroyIn file included from 
fixedjitterbuf.c        ^
:/usr/include/pthread.h38::
349:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::32 :
note: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_readexten.c
::36:
In file included from 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::926#define pthread_mutex_destroy           __libc_mutex_destroy::
 
In file included from         ^warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
: In file included from 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]app_while.c:
144:36:
In file included from :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:26
:
        ^In file included from 30
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::
127In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:750/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h21348::
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h935::23: 10:
:note : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 
:array subscript is of type 'char' [-Wchar-subscripts]561:
9: warning#define pthread_mutex_unlock            __libc_mutex_unlock: 
'pthread_cond_init' macro redefined [-Wmacro-redefined]                *pos = toupper(*pos);        ^

                ~~~~~~~^~~~~~~~~~~~~~

In file included from fixedjitterbuf.c/usr/include/sys/ctype_inline.h:#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init38
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::6032:/usr/include/pthread.h::
369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:46::9 558note: : :note: expanded from macro 'toupper'
9previous definition is here:
 warning#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)])): 
'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]                                                  ^

#define pthread_cond_init               __libc_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h
:        ^52
:#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock47
In file included from         ^:
 app_while.c:note: /usr/include/pthread.hexpanded from macro 'AST_INLINE_API':
36347:
:In file included from 9# define AST_INLINE_API(hdr, body) inline hdr body:
 note                                              ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: previous definition is here:26

:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
#define pthread_mutex_trylock           __libc_mutex_trylockIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^:21:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hfixedjitterbuf.c::56238::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :warning: 32'pthread_cond_destroy' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
:         ^'pthread_mutex_init' macro redefined [-Wmacro-redefined]

/usr/include/pthread.h#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from :
374:app_readexten.c        ^:
36/usr/include/pthread.h9:
:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h345::26: :
9In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::previous definition is here
144:
 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:#define pthread_cond_destroy            __libc_cond_destroynote30
:         ^previous definition is here:

In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :#define pthread_mutex_init              __libc_mutex_initapp_while.c750
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::
36:
In file included from 994/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:In file included from 22:26:
:In file included from  fixedjitterbuf.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:warning: :array subscript is of type 'char' [-Wchar-subscripts]38127:

:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:                hash = hash * 33 ^ tolower(*str++);:
3221                                   ^~~~~~~~~~~~~~~:

:
In file included from /usr/include/sys/ctype_inline.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:59:46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::560 23:note9: : expanded from macro 'tolower'warning:

: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:
563#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)])):
                                                  ^~~~9
:#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy 
warning        ^: 
'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h
:349:9: note#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal: 
previous definition is here        ^

/usr/include/pthread.h:370:9:#define pthread_mutex_destroy           __libc_mutex_destroy note: 
previous definition is here
        ^
#define pthread_cond_signal             __libc_cond_signalIn file included from 
fixedjitterbuf.c        ^
:In file included from 38app_while.c:
:In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::2632:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::127:
561In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::219:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_init' macro redefined [-Wmacro-redefined]
:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^369
:/usr/include/pthread.h9::371 :note9: :previous definition is here 
note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
#define pthread_cond_broadcast          __libc_cond_broadcast
In file included from         ^fixedjitterbuf.c
:In file included from app_while.c:3836:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:3226:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h562::127:
9In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21warning:
In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23'pthread_cond_destroy' macro redefined [-Wmacro-redefined]:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: #define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroywarning
:         ^'pthread_cond_wait' macro redefined [-Wmacro-redefined]

/usr/include/pthread.h:374:9:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait 
        ^note
: /usr/include/pthread.hprevious definition is here:
372:9: note#define pthread_cond_destroy            __libc_cond_destroy: previous definition is here

        ^
In file included from #define pthread_cond_wait               __libc_cond_waitfixedjitterbuf.c
:        ^38
:
In file included from app_while.c:In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:
:32In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::563127::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h warning:: 21'pthread_cond_signal' macro redefined [-Wmacro-redefined]:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal9
:         ^warning
: /usr/include/pthread.h'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
:370:9: note: previous definition is here#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait

        ^
/usr/include/pthread.h:373:#define pthread_cond_signal             __libc_cond_signal9: note
:         ^previous definition is here

In file included from fixedjitterbuf.c:38:
In file included from #define pthread_cond_timedwait          __libc_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:        ^
32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from fixedjitterbuf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from fixedjitterbuf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from file.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
In file included from framehook.c:34#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::370144::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: 30note:
: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define pthread_cond_signal             __libc_cond_signal935
:        ^10
: In file included from warningfile.c: :array subscript is of type 'char' [-Wchar-subscripts]41
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
                *pos = toupper(*pos);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:                ~~~~~~~^~~~~~~~~~~~~~564
:9: /usr/include/sys/ctype_inline.hwarning: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]60:
46: note: expanded from macro 'toupper'
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))/usr/include/pthread.h
:                                                  ^371
:9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::52: 47note::  previous definition is herenote
: expanded from macro 'AST_INLINE_API'
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
# define AST_INLINE_API(hdr, body) inline hdr body
In file included from                                               ^~~~file.c
:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from file.cIn file included from :framehook.c41::
In file included from 34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:
:28In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:In file included from 144/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:
:In file included from 36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h30:23:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::566:7509:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h warning:: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]994
:22: warning: array subscript is of type 'char' [-Wchar-subscripts]#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait

        ^
/usr/include/pthread.h:                hash = hash * 33 ^ tolower(*str++);
373:                                   ^~~~~~~~~~~~~~~9
:/usr/include/sys/ctype_inline.h :note59: previous definition is here:
46: note: expanded from macro 'tolower'#define pthread_cond_timedwait          __libc_cond_timedwait

        ^
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from fixedjitterbuf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from fixedjitterbuf.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
framehook.c:100:16: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
                        i->version, AST_FRAMEHOOK_INTERFACE_VERSION);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/framehook.h:202:41: note: expanded from macro 'AST_FRAMEHOOK_INTERFACE_VERSION'
#define AST_FRAMEHOOK_INTERFACE_VERSION 1
                                        ^
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_while.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
13 warnings#define pthread_mutex_lock              __libc_mutex_lock generated.

        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from file.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from file.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] heap.c -> heap.o
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_senddtmf.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] http.c -> http.o
14 warnings generated.
   [LD] res_convert.o -> res_convert.so
16 warnings generated.
   [CC] app_milliwatt.c -> app_milliwatt.o
   [CC] app_exec.c -> app_exec.o
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from hashtab.c:35:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_readfile.c -> app_readfile.o
14 warnings generated.
In file included from hashtab.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from hashtab.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] app_stack.c -> app_stack.o
   [LD] res_config_ldap.o -> res_config_ldap.so
13 warnings generated.
   [LD] res_realtime.o -> res_realtime.so
13 warnings generated.
   [LD] res_pktccops.o -> res_pktccops.so
13 warnings generated.
   [CC] image.c -> image.o
   [CC] indications.c -> indications.o
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from global_datastores.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from heap.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:   [CC] io.c -> io.o
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [LD] res_adsi.o -> res_adsi.so
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_exec.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] res_crypto.o -> res_crypto.so
   [CC] jitterbuf.c -> jitterbuf.o
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_milliwatt.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
   [CC] loader.c -> loader.o
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :app_stack.c21::
37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::26559:9::
 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]
127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:        ^23
:
/usr/include/pthread.h:345/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5569:: 9note:: previous definition is here
 warning: #define pthread_mutex_init              __libc_mutex_init'pthread_mutex_lock' macro redefined [-Wmacro-redefined]

        ^
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:/usr/include/pthread.h349:346::9: 9note: :previous definition is here 
note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
#define pthread_mutex_lock              __libc_mutex_lockIn file included from app_readfile.c:38
        ^
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :127app_stack.c:
:37In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h21:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:2326:
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :561:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:: warning127:
: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_cond_init' macro redefined [-Wmacro-redefined]
:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:
557        ^:9:
 /usr/include/pthread.h:369:9warning: : note: previous definition is here
'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_readfile.c#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:
        ^38
:
/usr/include/pthread.hIn file included from :348:9: note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: previous definition is here127
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_mutex_unlock            __libc_mutex_unlock23
:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:        ^562
:9: In file included from warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]app_stack.c
:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy:

In file included from         ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/usr/include/pthread.h:21::
374:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23 :
note: previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]#define pthread_cond_destroy            __libc_cond_destroy

        ^
In file included from app_readfile.c:38:
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h        ^:
127/usr/include/pthread.h::
347In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:9:
: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote: :23:
previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
563:9: #define pthread_mutex_trylock           __libc_mutex_trylockwarning
:         ^'pthread_cond_signal' macro redefined [-Wmacro-redefined]

In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
127:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
21:
In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::37023:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::559:99::  warningnote: : previous definition is here'pthread_mutex_init' macro redefined [-Wmacro-redefined]

#define pthread_cond_signal             __libc_cond_signal
        ^
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from 
app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h        ^
:/usr/include/pthread.h127:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:345:921: :
note: In file included from previous definition is here
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_init              __libc_mutex_init564
:        ^
9In file included from : app_stack.cwarning:: 37'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
:
        ^
In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21::
371:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: note: previous definition is here
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9:#define pthread_cond_broadcast          __libc_cond_broadcast
         ^
warningIn file included from : app_readfile.c'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:38
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h:23::
349/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9:565: :9:note:  previous definition is here
warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_stack.c:#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
37        ^:
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/usr/include/pthread.h::26:
372:9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :note: 127:
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from #define pthread_cond_wait               __libc_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:        ^23
:
In file included from app_readfile.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h38:
:In file included from 561:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9: :warning127: :
'pthread_cond_init' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:9
        ^: 
warning/usr/include/pthread.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]369:
9: note: previous definition is here
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
#define pthread_cond_init               __libc_cond_init
        ^/usr/include/pthread.h
:In file included from 373app_stack.c::379::
In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hnote:: previous definition is here26:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_timedwait          __libc_cond_timedwait:21
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_readfile.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from In file included from app_readfile.c:app_stack.c38::
37In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:144:
26:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h144:
:In file included from 30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::30:
750In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994::75022:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning:935:: 10array subscript is of type 'char' [-Wchar-subscripts]: 
warning: array subscript is of type 'char' [-Wchar-subscripts]                hash = hash * 33 ^ tolower(*str++);

                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_stack.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from image.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from http.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from http.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from http.c:50:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from indications.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
   [LD] res_phoneprov.o -> res_phoneprov.so
13 warnings generated.
In file included from indications.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/indications.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from indications.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/indications.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] res_timing_pthread.o -> res_timing_pthread.so
   [CC] lock.c -> lock.o
   [CC] logger.c -> logger.o
indications.c:364:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
                        if (tone_data.freq1 >= 0 && tone_data.freq1 <= 127) {
                            ~~~~~~~~~~~~~~~ ^  ~
indications.c:370:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
                        if (tone_data.freq2 >= 0 && tone_data.freq2 <= 127) {
                            ~~~~~~~~~~~~~~~ ^  ~
indications.c:922:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (!isdigit(ring[0]) || (val = atoi(ring)) == -1) {
                     ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
13 warnings generated.
   [LD] res_jabber.o -> res_jabber.so
13 warnings generated.
   [LD] res_curl.o -> res_curl.so
   [CC] app_confbridge.c -> app_confbridge.o
13 warnings generated.
   [CC] app_userevent.c -> app_userevent.o
   [LD] res_speech.o -> res_speech.so
13 warnings generated.
   [LD] res_agi.o -> res_agi.so
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from jitterbuf.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
jitterbuf.c:142:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                if (abs(*delay - jb->info.last_delay) > threshold) {
                    ^
jitterbuf.c:142:7: note: use function 'labs' instead
                if (abs(*delay - jb->info.last_delay) > threshold) {
                    ^~~
                    labs
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from loader.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_sayunixtime.c -> app_sayunixtime.o
In file included from loader.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
   [CC] manager.c -> manager.o
In file included from loader.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] md5.c -> md5.o
   [CC] app_chanisavail.c -> app_chanisavail.o
13 warnings generated.
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
   [CC] netsock.c -> netsock.o
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from io.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from logger.c:43:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] res_mutestream.o -> res_mutestream.so
In file included from logger.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from logger.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
16 warnings generated.
   [LD] res_monitor.o -> res_monitor.so
13 warnings generated.
   [LD] res_musiconhold.o -> res_musiconhold.so
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
14                                              ^~~~ warning
s generated.
In file included from lock.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_transfer.c -> app_transfer.o
   [CC] app_dumpchan.c -> app_dumpchan.o
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_userevent.c:32:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [LD] res_stun_monitor.o -> res_stun_monitor.so
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] app_test.c -> app_test.o
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_confbridge.c:45:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_nbscat.c -> app_nbscat.o
13 warnings generated.
13 warnings generated.
   [CC] app_sendtext.c -> app_sendtext.o
   [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so
   [CC] netsock2.c -> netsock2.o
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from manager.c:61:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_chanisavail.c:40:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345   [LD] res_calendar.o -> res_calendar.so
:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_sayunixtime.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_chanisavail.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_chanisavail.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]In file included from 
netsock.c:47                hash = hash * 33 ^ tolower(*str++);
:
                                   ^~~~~~~~~~~~~~~In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/usr/include/sys/ctype_inline.h::750:
59/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::46935:: 10note::  expanded from macro 'tolower'
warning: array subscript is of type 'char' [-Wchar-subscripts]
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from netsock.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_image.c -> app_image.o
13 warnings generated.
   [LD] res_fax.o -> res_fax.so
manager.c:1625:10: warning: address of array 'user->username' will always evaluate to 'true' [-Wpointer-bool-conversion]
                (user->username ? user->username : "(N/A)"),
                 ~~~~~~^~~~~~~~ ~
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_transfer.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
manager.c:5709:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if ( (mode & 2) && !isalnum(*src)) {
                                    ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
manager.c:5742:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        *dst++ = mode ? tolower(*src) : *src;
                                        ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] pbx.c -> pbx.o
13 warnings generated.
   [LD] res_limit.o -> res_limit.so
   [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_test.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] plc.c -> plc.o
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:   [CC] app_softhangup.c -> app_softhangup.o
560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:13374: warning9s: generated.
 note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:   [LD] res_clioriginate.o -> res_clioriginate.so
370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_nbscat.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_sendtext.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] poll.c -> poll.o
In file included from app_nbscat.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_nbscat.c:43:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_dumpchan.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from netsock2.c:34:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_minivm.c -> app_minivm.o
13 warnings generated.
   [LD] res_config_curl.o -> res_config_curl.so
   [CC] app_voicemail.c -> app_voicemail.o
   [CC] app_morsecode.c -> app_morsecode.o
   [LD] res_rtp_multicast.o -> res_rtp_multicast.so
13 warnings generated.
   [CC] privacy.c -> privacy.o
13 warnings generated.
   [LD] res_clialiases.o -> res_clialiases.so
13 warnings generated.
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_image.c:36:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hpbx.c::2646:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::556127::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: :
'pthread_mutex_lock' macro redefined [-Wmacro-redefined]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from #define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:        ^21:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
   [CC] rtp_engine.c -> rtp_engine.o
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^/usr/include/pthread.h
:/usr/include/pthread.h346:9::374 :note9: : previous definition is herenote
: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
#define pthread_cond_destroy            __libc_cond_destroy        ^

        ^In file included from 
pbx.cIn file included from :app_image.c46::
36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from 557:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:926::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]127
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock21
:
In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:/usr/include/pthread.h23::
348/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9563:: 9note::  previous definition is herewarning
: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from pbx.c:46:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^
:/usr/include/pthread.h:558370::99::  notewarning: : previous definition is here'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]

#define pthread_cond_signal             __libc_cond_signal#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock

        ^        ^

In file included from /usr/include/pthread.happ_image.c::36347:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26::
In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_mutex_trylock           __libc_mutex_trylock:
21:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :pbx.c23::
46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h564::5599::9 : warningwarning: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]'pthread_mutex_init' macro redefined [-Wmacro-redefined]

#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init

        ^        ^

/usr/include/pthread.h/usr/include/pthread.h::371345::99::  note: noteprevious definition is here: 
previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
#define pthread_mutex_init              __libc_mutex_init        ^

        ^
In file included from app_image.cIn file included from :pbx.c36::
46In file included from :
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h26::
560In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 :
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]21
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:        ^565
:/usr/include/pthread.h9::349 :warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
9: note: #define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_waitprevious definition is here

        ^
/usr/include/pthread.h:372#define pthread_mutex_destroy           __libc_mutex_destroy:
9        ^:
 noteIn file included from : pbx.cprevious definition is here:
46:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:#define pthread_cond_wait               __libc_cond_wait9
:        ^ 
warning: In file included from 'pthread_cond_init' macro redefined [-Wmacro-redefined]app_image.c
:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:
127:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/usr/include/pthread.h::21369:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23note:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here:
566:9: warning: #define pthread_cond_init               __libc_cond_init'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]

        ^
In file included from pbx.c:46#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:/usr/include/pthread.h562::3739::9:  warningnote: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]previous definition is here

#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy#define pthread_cond_timedwait          __libc_cond_timedwait

        ^        ^

/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from pbx.c:46:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from pbx.c:46:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from pbx.c:46:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from pbx.c:46:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] say.c -> say.o
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_image.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from pbx.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from pbx.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_festival.c -> app_festival.o
13 warnings generated.
   [LD] res_security_log.o -> res_security_log.so
   [CC] app_system.c -> app_system.o
13 warnings generated.
13 warnings generated.
   [CC] app_mixmonitor.c -> app_mixmonitor.o
   [CC] sched.c -> sched.o
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_minivm.c:162:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_minivm.c:164:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_minivm.c:164:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from poll.c:83:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_softhangup.c:37:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_minivm.c:1563:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (!isdigit(*i)) {
                             ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
app_minivm.c:1822:18: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (etemplate->locale) {
                ~~  ~~~~~~~~~~~^~~~~~
app_minivm.c:1834:17: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (etemplate->locale) {
        ~~  ~~~~~~~~~~~^~~~~~
app_minivm.c:2977:10: warning: address of array 'this->charset' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        this->charset ? this->charset : "-", 
                        ~~~~~~^~~~~~~ ~
app_minivm.c:2978:10: warning: address of array 'this->locale' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        this->locale ? this->locale : "-",
                        ~~~~~~^~~~~~ ~
app_minivm.c:2980:10: warning: address of array 'this->subject' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        this->subject ? this->subject : "-");
                        ~~~~~~^~~~~~~ ~
app_minivm.c:3048:49: warning: address of array 'vmu->etemplate' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        ast_cli(a->fd, HMSU_OUTPUT_FORMAT, tmp, vmu->etemplate ? vmu->etemplate : "-", 
                                                                ~~~~~^~~~~~~~~ ~
app_minivm.c:3049:10: warning: address of array 'vmu->ptemplate' will always evaluate to 'true' [-Wpointer-bool-conversion]
                                vmu->ptemplate ? vmu->ptemplate : "-",
                                ~~~~~^~~~~~~~~ ~
app_minivm.c:3050:10: warning: address of array 'vmu->zonetag' will always evaluate to 'true' [-Wpointer-bool-conversion]
                                vmu->zonetag ? vmu->zonetag : "-", 
                                ~~~~~^~~~~~~ ~
app_minivm.c:3051:10: warning: address of array 'vmu->attachfmt' will always evaluate to 'true' [-Wpointer-bool-conversion]
                                vmu->attachfmt ? vmu->attachfmt : "-",
                                ~~~~~^~~~~~~~~ ~
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_voicemail.c:107:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_voicemail.c:109:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_voicemail.c:109:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] app_privacy.c -> app_privacy.o
   [CC] security_events.c -> security_events.o
13 warnings generated.
   [LD] app_waituntil.o -> app_waituntil.so
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from In file included from app_morsecode.crtp_engine.c:36:
In file included from :36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h127:
:In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h21:21:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h23:
:23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::
556:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9: warning:559: :9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^#define pthread_mutex_init              __libc_mutex_init

        ^
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127346:
:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21 :
noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here:
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560#define pthread_mutex_lock              __libc_mutex_lock
:9:        ^ 
warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^:
21/usr/include/pthread.h:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h349::23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9557::9 : notewarning: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]previous definition is here

#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
In file included from         ^app_morsecode.c
:/usr/include/pthread.h36::
348:In file included from 9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hrtp_engine.c::2336:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::
127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:56121::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 23warning:
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:'pthread_cond_init' macro redefined [-Wmacro-redefined]558:
9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
369        ^:
9/usr/include/pthread.h:: 347:9note: : note: previous definition is hereprevious definition is here

#define pthread_cond_init               __libc_cond_init#define pthread_mutex_trylock           __libc_mutex_trylock

        ^
        ^In file included from 
rtp_engine.c:In file included from 36:
app_morsecode.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h36:127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21127:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:21::
23:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::55923:9:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :562warning:: 9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy/usr/include/pthread.h:
        ^345
:/usr/include/pthread.h:3749:9: note: :previous definition is here 
note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^#define pthread_cond_destroy            __libc_cond_destroy

In file included from         ^rtp_engine.c
:36:
In file included from In file included from app_morsecode.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:12736:
:
In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::21127:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h23::
21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
:In file included from 560:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9:: 23warning: :
'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563
:9: warning#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^: 
'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h:
349:9: note#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal: 
previous definition is here        ^

/usr/include/pthread.h:#define pthread_mutex_destroy           __libc_mutex_destroy370
:        ^9
:In file included from  rtp_engine.cnote:: previous definition is here36:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
#define pthread_cond_signal             __libc_cond_signalIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h        ^:21
:
In file included from In file included from app_morsecode.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3623:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h561::9:127 :
warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init:

In file included from         ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:/usr/include/pthread.h:23369:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9: :note564: :previous definition is here9
: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]#define pthread_cond_init               __libc_cond_init

        ^
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast:
127        ^:

In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::37121:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:923::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 562previous definition is here:
9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]#define pthread_cond_broadcast          __libc_cond_broadcast

        ^
In file included from app_morsecode.c:36#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127374:
:9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note: 21:
In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565#define pthread_cond_destroy            __libc_cond_destroy:
9        ^
:In file included from  rtp_engine.c:warning: 36:
In file included from 'pthread_cond_wait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:
127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait:
23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^:
563/usr/include/pthread.h::9372:: 9warning::  'pthread_cond_signal' macro redefined [-Wmacro-redefined]note
: previous definition is here
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
#define pthread_cond_wait               __libc_cond_wait        ^

/usr/include/pthread.h:        ^370
:9In file included from : app_morsecode.cnote: :previous definition is here36
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_cond_signal             __libc_cond_signal
:
        ^In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :21rtp_engine.c:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h36:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:23127:
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::56621:9:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:23: :
'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:
564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9:#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast 
note:         ^
previous definition is here
/usr/include/pthread.h:371:9: note#define pthread_cond_timedwait          __libc_cond_timedwait: 
previous definition is here
        ^
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
pbx.c:8211:23: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while (*endpart && !isdigit(*endpart)) {
                                    ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from rtp_engine.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_morsecode.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
app_voicemail.c:8221:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                        if ((vms->newmessages == 1)) {
                             ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8221:26: note: remove extraneous parentheses around the comparison to silence this warning
                        if ((vms->newmessages == 1)) {
                            ~                 ^   ~
app_voicemail.c:8221:26: note: use '=' to turn this equality comparison into an assignment
                        if ((vms->newmessages == 1)) {
                                              ^~
                                              =
app_voicemail.c:8235:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                if ((vms->oldmessages == 1)){
                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8235:25: note: remove extraneous parentheses around the comparison to silence this warning
                if ((vms->oldmessages == 1)){
                    ~                 ^   ~
app_voicemail.c:8235:25: note: use '=' to turn this equality comparison into an assignment
                if ((vms->oldmessages == 1)){
                                      ^~
                                      =
app_voicemail.c:8427:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                if ((vms->urgentmessages == 1))
                                     ~~~~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8427:30: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->urgentmessages == 1))
                                    ~                    ^   ~
app_voicemail.c:8427:30: note: use '=' to turn this equality comparison into an assignment
                                if ((vms->urgentmessages == 1))
                                                         ^~
                                                         =
app_voicemail.c:8440:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
13 warnings generated.
                                if ((vms->newmessages == 1))
                                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8440:27: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->newmessages == 1))
                                    ~                 ^   ~
app_voicemail.c:8440:27: note: use '=' to turn this equality comparison into an assignment
                                if ((vms->newmessages == 1))
                                                      ^~
                                                      =
app_voicemail.c:8592:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                if ((vms->newmessages == 1)) {
                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8592:25: note: remove extraneous parentheses around the comparison to silence this warning
                if ((vms->newmessages == 1)) {
                    ~                 ^   ~
app_voicemail.c:8592:25: note: use '=' to turn this equality comparison into an assignment
                if ((vms->newmessages == 1)) {
                                      ^~
                                      =
app_voicemail.c:8636:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                if ((vms->newmessages == 1)) {
                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8636:25: note: remove extraneous parentheses around the comparison to silence this warning
                if ((vms->newmessages == 1)) {
                    ~                 ^   ~
app_voicemail.c:8636:25: note: use '=' to turn this equality comparison into an assignment
                if ((vms->newmessages == 1)) {
                                      ^~
                                      =
app_voicemail.c:8671:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                        if ((vms->newmessages == 1))
                             ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8671:26: note: remove extraneous parentheses around the comparison to silence this warning
                        if ((vms->newmessages == 1))
                            ~                 ^   ~
app_voicemail.c:8671:26: note: use '=' to turn this equality comparison into an assignment
                        if ((vms->newmessages == 1))
                                              ^~
                                              =
app_voicemail.c:8680:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                if ((vms->newmessages == 1))
                                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8680:27: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->newmessages == 1))
                                    ~                 ^   ~
app_voicemail.c:8680:27: note: use '=' to turn this equality comparison into an assignment
                                if ((vms->newmessages == 1))
                                                      ^~
                                                      =
app_voicemail.c:8727:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                if ((vms->newmessages == 1)) {
                                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8727:27: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->newmessages == 1)) {
                                    ~                 ^   ~
app_voicemail.c:8727:27: note: use '=' to turn this equality comparison into an assignment
                                if ((vms->newmessages == 1)) {
                                                      ^~
                                                      =
app_voicemail.c:8778:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                if ((vms->newmessages == 1)) {
                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:8778:25: note: remove extraneous parentheses around the comparison to silence this warning
                if ((vms->newmessages == 1)) {
                    ~                 ^   ~
app_voicemail.c:8778:25: note: use '=' to turn this equality comparison into an assignment
                if ((vms->newmessages == 1)) {
                                      ^~
                                      =
app_voicemail.c:8824:In file included from 27say.c::52 warning: :
equality comparison with extraneous parentheses [-Wparentheses-equality]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127                                if ((vms->newmessages == 1))
:
In file included from                                      ~~~~~~~~~~~~~~~~~^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:app_voicemail.c9: warning:: 8824'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
:27: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->newmessages == 1))
                                    ~                 ^   ~
app_voicemail.c:#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
8824        ^:
27: note: /usr/include/pthread.huse '=' to turn this equality comparison into an assignment:346:
9: note                                if ((vms->newmessages == 1)): 
previous definition is here                                                      ^~

                                                      =
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlockapp_voicemail.c
:        ^8871
:/usr/include/pthread.h:27348::9 :warning : noteequality comparison with extraneous parentheses [-Wparentheses-equality]: 
previous definition is here
                                if ((vms->newmessages == 1))
#define pthread_mutex_unlock            __libc_mutex_unlock
                                     ~~~~~~~~~~~~~~~~~^~~~
        ^
app_voicemail.cIn file included from :8871say.c::27:52:
 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:note127:
: In file included from remove extraneous parentheses around the comparison to silence this warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:                                if ((vms->newmessages == 1))
23                                    ~                 ^   ~:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9app_voicemail.c: :warning8871: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]27
: note#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: 
use '=' to turn this equality comparison into an assignment
        ^
/usr/include/pthread.h:347:                                if ((vms->newmessages == 1))9
:                                                      ^~
                                                       =note: previous definition is here

#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: noteapp_voicemail.c: :previous definition is here
8914:27: warning#define pthread_mutex_init              __libc_mutex_init: 
equality comparison with extraneous parentheses [-Wparentheses-equality]        ^

In file included from say.c:52:
                                if ((vms->newmessages == 1)) {In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h
:                                     ~~~~~~~~~~~~~~~~~^~~~127
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.happ_voicemail.c:23::
8914/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::27560::9 :note:  remove extraneous parentheses around the comparison to silence this warningwarning: 
'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
                                if ((vms->newmessages == 1)) {
                                    ~                 ^   ~
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
app_voicemail.c/usr/include/pthread.h:349::8914:279: :note note: : use '=' to turn this equality comparison into an assignment
previous definition is here
                                if ((vms->newmessages == 1)) {
                                                      ^~#define pthread_mutex_destroy           __libc_mutex_destroy
                                                      =

        ^
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: app_voicemail.c'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
:8980:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:                                if ((vms->newmessages == 1))374
:                                     ~~~~~~~~~~~~~~~~~^~~~9
: note: previous definition is here
app_voicemail.c:8980:27:#define pthread_cond_destroy            __libc_cond_destroy
         ^
note: In file included from say.cremove extraneous parentheses around the comparison to silence this warning:
52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127                                if ((vms->newmessages == 1)):
In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:                                    ~                 ^   ~21
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_voicemail.c::8980:27563:: note9: use '=' to turn this equality comparison into an assignment
: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
                                if ((vms->newmessages == 1))
                                                      ^~
                                                      =
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from say.c:app_voicemail.c52::
8990In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h27:127::
 In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :equality comparison with extraneous parentheses [-Wparentheses-equality]21
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
                                if ((vms->newmessages == 1))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: 
warning                                     ~~~~~~~~~~~~~~~~~^~~~: 
'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
app_voicemail.c#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
:        ^8990:27
: /usr/include/pthread.hnote:371: :remove extraneous parentheses around the comparison to silence this warning9
: note: previous definition is here
                                if ((vms->newmessages == 1))
                                    ~                 ^   ~
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from say.capp_voicemail.c::528990:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h27:: note: 127:
use '=' to turn this equality comparison into an assignmentIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h
:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:                                if ((vms->newmessages == 1))23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:                                                      ^~565
:                                                      =9:
 warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
app_voicemail.c:9001#define pthread_cond_wait               __libc_cond_wait:
        ^
27In file included from :say.c :warning52: :
equality comparison with extraneous parentheses [-Wparentheses-equality]In file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:                                if ((vms->oldmessages == 1))21
:
                                     ~~~~~~~~~~~~~~~~~^~~~In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h
:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:app_voicemail.c9: :warning9001: :27'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:
 note: remove extraneous parentheses around the comparison to silence this warning
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
                                if ((vms->oldmessages == 1))        ^

/usr/include/pthread.h                                    ~                 ^   ~
:373:9: app_voicemail.cnote:: 9001previous definition is here:
27: note: #define pthread_cond_timedwait          __libc_cond_timedwait
use '=' to turn this equality comparison into an assignment        ^

                                if ((vms->oldmessages == 1))
                                                      ^~
                                                      =
app_voicemail.c:9009:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
                                if ((vms->oldmessages == 1))
                                     ~~~~~~~~~~~~~~~~~^~~~
app_voicemail.c:9009:27: note: remove extraneous parentheses around the comparison to silence this warning
                                if ((vms->oldmessages == 1))
                                    ~                 ^   ~
app_voicemail.c:9009:27: note: use '=' to turn this equality comparison into an assignment
                                if ((vms->oldmessages == 1))
                                                      ^~
                                                      =
   [CC] sha1.c -> sha1.o
app_voicemail.c:10024:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                        if (isdigit(opts[OPT_ARG_PLAYFOLDER][0])) {
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from say.c:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_festival.c:48:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_mixmonitor.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
   [CC] slinfactory.c -> slinfactory.o
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [LD] app_sms.o -> app_sms.so
In file included from app_mixmonitor.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_mixmonitor.c:47:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_system.c:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from app_privacy.c:36:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from app_privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from app_privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from security_events.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from privacy.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
security_events.c:379:17: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (event_type < 0 || event_type >= AST_SECURITY_EVENT_NUM_TYPES) {
            ~~~~~~~~~~ ^ ~
security_events.c:629:22: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]
        if (sec->event_type < 0 || sec->event_type >= AST_SECURITY_EVENT_NUM_TYPES) {
            ~~~~~~~~~~~~~~~ ^ ~
   [CC] srv.c -> srv.o
   [CC] ssl.c -> ssl.o
13 warnings generated.
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from 13/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h warning:s21 generated.
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] stdtime/localtime.c -> stdtime/localtime.o
   [LD] app_alarmreceiver.o -> app_alarmreceiver.so
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from sched.c:46:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from slinfactory.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
15 warnings generated.
   [CC] strcompat.c -> strcompat.o
   [LD] app_externalivr.o -> app_externalivr.so
13 warnings generated.
   [CC] strings.c -> strings.o
   [CC] stun.c -> stun.o
11 warnings generated.
   [LD] app_dictate.o -> app_dictate.so
13 warnings generated.
   [CC] syslog.c -> syslog.o
   [LD] app_macro.o -> app_macro.so
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
   [LD] app_cdr.o -> app_cdr.so
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from stdtime/localtime.c:75:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from srv.c:49:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from stdtime/localtime.c:77:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from stdtime/localtime.c:77:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
stdtime/localtime.c:394:6: warning: incompatible integer to pointer conversion assigning to 'struct state *' from '__intptr_t' (aka 'long') [-Wint-conversion]
                sp = kev.udata;
                   ^ ~~~~~~~~~
stdtime/localtime.c:2194:29: warning: unused function 'find_by_locale' [-Wunused-function]
static struct locale_entry *find_by_locale(locale_t locale)
                            ^
13 warnings generated.
   [CC] taskprocessor.c -> taskprocessor.o
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9:    [CC] tcptls.c -> tcptls.o
note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from stun.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from ssl.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from strcompat.c:38:
In file included from ssl.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::3250:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h22::558 :warning9: :unused function 'ssl_threadid' [-Wunused-function] 
warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]static unsigned long ssl_threadid(void)

                     ^
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylockssl.c
:        ^55
:/usr/include/pthread.hIn file included from :strings.c347:1342:: :
9warning:: In file included from  unused function 'ssl_lock' [-Wunused-function]note
: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hprevious definition is herestatic void ssl_lock(int mode, int n, const char *file, int line)
:
30#define pthread_mutex_trylock           __libc_mutex_trylock:

In file included from             ^        ^

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :strcompat.c32::
38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h556:32::
9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 559warning: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]9:
 warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: #define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lockprevious definition is here

        ^
#define pthread_mutex_init              __libc_mutex_init
        ^
/usr/include/pthread.hIn file included from :strcompat.c:34638:9:
:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note32: :
previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:560:#define pthread_mutex_lock              __libc_mutex_lock
9        ^:
 In file included from warningstrings.c: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]42
:
In file included from    [LD] app_talkdetect.o -> app_talkdetect.so
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy:
30:
        ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:/usr/include/pthread.h32:
:349/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9557: :note9::  previous definition is herewarning
: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock

In file included from         ^strcompat.c
:/usr/include/pthread.h38::
348In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9:: 32note: :
previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:561:#define pthread_mutex_unlock            __libc_mutex_unlock
9        ^:
 In file included from strings.cwarning:: 42'pthread_cond_init' macro redefined [-Wmacro-redefined]:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from #define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:
32:
/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::558:3699::9 :warning : note'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 
previous definition is here
#define pthread_cond_init               __libc_cond_init#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock

        ^        ^

/usr/include/pthread.hIn file included from :347strcompat.c:38::
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h note:: 32previous definition is here:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_trylock           __libc_mutex_trylock
:        ^562
:In file included from 9strings.c:: 42warning:
: In file included from 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h
:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy:
32        ^:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::559:3749: :warning: 9'pthread_mutex_init' macro redefined [-Wmacro-redefined]:
 note: #define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_initprevious definition is here

        ^
#define pthread_cond_destroy            __libc_cond_destroy/usr/include/pthread.h
:        ^345
:In file included from 9strcompat.c::38 :
note: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:32#define pthread_mutex_init              __libc_mutex_init:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h        ^
:In file included from strings.c563::42:
9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :warning30: :
'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h
:32#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:/usr/include/pthread.h560::370:99:: note: previous definition is here 
warning: #define pthread_cond_signal             __libc_cond_signal'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]

        ^#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy

In file included from         ^strcompat.c
:38/usr/include/pthread.h:
:In file included from 349/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::9:32 :
note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here564
:9:#define pthread_mutex_destroy           __libc_mutex_destroy 
warning        ^: 
'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
In file included from strings.c:42:
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h        ^:
30/usr/include/pthread.h:
In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h371::329:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note561: :previous definition is here9
: warning#define pthread_cond_broadcast          __libc_cond_broadcast: 
'pthread_cond_init' macro redefined [-Wmacro-redefined]        ^

In file included from strcompat.c:#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init38:

In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h        ^:
32/usr/include/pthread.h:
:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h369::5659::9 :note : warningprevious definition is here: 
'pthread_cond_wait' macro redefined [-Wmacro-redefined]#define pthread_cond_init               __libc_cond_init

        ^#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait

In file included from         ^strings.c
:42/usr/include/pthread.h:
:In file included from 372/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::309:
:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote:: 32previous definition is here:

/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:#define pthread_cond_wait               __libc_cond_wait
9        ^:
 In file included from warningstrcompat.c: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]38
:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:/usr/include/pthread.h566::3749:: 9:warning : note'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 
previous definition is here
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait#define pthread_cond_destroy            __libc_cond_destroy

        ^        ^

/usr/include/pthread.hIn file included from :strings.c:37342::
9:In file included from  /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hnote:30: :
previous definition is hereIn file included from 
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_timedwait          __libc_cond_timedwait
:
        ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h
:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from strings.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from strings.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from strings.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from stun.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from stun.c:40:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] tdd.c -> tdd.o
In file included from strings.c:42:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:In file included from 935strings.c::1042::
 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning:: 994:array subscript is of type 'char' [-Wchar-subscripts]22
: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46:                 *pos = toupper(*pos);note
:                 ~~~~~~~^~~~~~~~~~~~~~expanded from macro 'tolower'

#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
/usr/include/sys/ctype_inline.h                                                  ^~~~:
60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from strcompat.c:38:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
15 warnings generated.
   [LD] app_directed_pickup.o -> app_directed_pickup.so
   [LD] app_db.o -> app_db.so
13 warnings generated.
   [LD] app_waitforring.o -> app_waitforring.so
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from syslog.c:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
13 warnings generated.
   [CC] term.c -> term.o
   [LD] app_amd.o -> app_amd.so
   [CC] test.c -> test.o
23 warnings generated.
13 warnings generated.
   [CC] threadstorage.c -> threadstorage.o
13 warnings generated.
   [LD] app_forkcdr.o -> app_forkcdr.so
   [CC] timing.c -> timing.o
   [CC] translate.c -> translate.o
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from taskprocessor.c:35:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] udptl.c -> udptl.o
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
   [CC] ulaw.c -> ulaw.o
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from tcptls.c:44:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
tdd.c:316:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                c = toupper(str[x]);
                    ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
   [CC] utils.c -> utils.o
tcptls.c:401:20: error: incomplete definition of type 'struct ssl_st'
                        if (!stream->ssl->server) {
                             ~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'struct ssl_st'
typedef struct ssl_st SSL;
               ^
tcptls.c:403:5: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
                                ERR_remove_state(0);
                                ^
/usr/include/openssl/err.h:248:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:133:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
tcptls.c:768:31: warning: implicit declaration of function 'SSLv2_client_method' is invalid in C99 [-Wimplicit-function-declaration]
                        cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method());
                                                   ^
tcptls.c:768:31: warning: this function declaration is not a prototype [-Wstrict-prototypes]
tcptls.c:768:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
                        cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method());
                                                   ^~~~~~~~~~~~~~~~~~~~~
13 warnings/usr/include/openssl/ssl.h generated.
:1333:47: note: passing argument to parameter 'meth' here
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
                                              ^
tcptls.c:773:31: warning: implicit declaration of function 'SSLv3_client_method' is invalid in C99 [-Wimplicit-function-declaration]
                        cfg->ssl_ctx = SSL_CTX_new(SSLv3_client_method());
                                                   ^
tcptls.c:773:31: warning: this function declaration is not a prototype [-Wstrict-prototypes]
tcptls.c:773:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion]
                        cfg->ssl_ctx = SSL_CTX_new(SSLv3_client_method());
                                                   ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1333:47: note: passing argument to parameter 'meth' here
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
                                              ^
tcptls.c:775:31: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]
                        cfg->ssl_ctx = SSL_CTX_new(TLSv1_client_method());
                                                   ^
/usr/include/openssl/ssl.h:1626:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
^
/usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
21 warnings and 1 error generated.
15 warnings generated.
   [LD] app_read.o -> app_read.so
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'tcptls.o' failed
make[1]: *** [tcptls.o] Error 1
make[1]: *** Waiting for unfinished jobs....
   [LD] app_adsiprog.o -> app_adsiprog.so
   [LD] app_waitforsilence.o -> app_waitforsilence.so
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from term.c:41:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from term.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from term.c:42:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from translate.c:38:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from translate.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from translate.c:39:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] app_controlplayback.o -> app_controlplayback.so
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from timing.c:39:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from timing.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from timing.c:41:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] app_url.o -> app_url.so
   [LD] app_originate.o -> app_originate.so
   [LD] app_authenticate.o -> app_authenticate.so
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API'
# define AST_INLINE_API(hdr, body) inline hdr body
                                              ^~~~
In file included from udptl.c:63:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:33:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30:
In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] app_playtones.o -> app_playtones.so
13 warnings generated.
udptl.c:291:54: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if ((enclen = encode_length(buf, len, num_octets)) < 0)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
udptl.c:575:35: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if (encode_length(buf, &len, 0) < 0)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
udptl.c:587:41: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                if (encode_length(buf, &len, entries) < 0)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
   [LD] app_setcallerid.o -> app_setcallerid.so
   [LD] app_celgenuserevent.o -> app_celgenuserevent.so
   [LD] app_queue.o -> app_queue.so
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_lock      use_ast_mutex_lock_instead_of_pthread_mutex_lock
        ^
/usr/include/pthread.h:346:9: note: previous definition is here
#define pthread_mutex_lock              __libc_mutex_lock
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_unlock    use_ast_mutex_unlock_instead_of_pthread_mutex_unlock
        ^
/usr/include/pthread.h:348:9: note: previous definition is here
#define pthread_mutex_unlock            __libc_mutex_unlock
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]
#define pthread_mutex_trylock   use_ast_mutex_trylock_instead_of_pthread_mutex_trylock
        ^
/usr/include/pthread.h:347:9: note: previous definition is here
#define pthread_mutex_trylock           __libc_mutex_trylock
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]
#define pthread_mutex_init      use_ast_mutex_init_instead_of_pthread_mutex_init
        ^
/usr/include/pthread.h:345:9: note: previous definition is here
#define pthread_mutex_init              __libc_mutex_init
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]
#define pthread_mutex_destroy   use_ast_mutex_destroy_instead_of_pthread_mutex_destroy
        ^
/usr/include/pthread.h:349:9: note: previous definition is here
#define pthread_mutex_destroy           __libc_mutex_destroy
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]
#define pthread_cond_init       use_ast_cond_init_instead_of_pthread_cond_init
        ^
/usr/include/pthread.h:369:9: note: previous definition is here
#define pthread_cond_init               __libc_cond_init
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]
#define pthread_cond_destroy    use_ast_cond_destroy_instead_of_pthread_cond_destroy
        ^
/usr/include/pthread.h:374:9: note: previous definition is here
#define pthread_cond_destroy            __libc_cond_destroy
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]
#define pthread_cond_signal     use_ast_cond_signal_instead_of_pthread_cond_signal
        ^
/usr/include/pthread.h:370:9: note: previous definition is here
#define pthread_cond_signal             __libc_cond_signal
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]
#define pthread_cond_broadcast  use_ast_cond_broadcast_instead_of_pthread_cond_broadcast
        ^
/usr/include/pthread.h:371:9: note: previous definition is here
#define pthread_cond_broadcast          __libc_cond_broadcast
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]
#define pthread_cond_wait       use_ast_cond_wait_instead_of_pthread_cond_wait
        ^
/usr/include/pthread.h:372:9: note: previous definition is here
#define pthread_cond_wait               __libc_cond_wait
        ^
In file included from utils.c:53:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]
#define pthread_cond_timedwait  use_ast_cond_timedwait_instead_of_pthread_cond_timedwait
        ^
/usr/include/pthread.h:373:9: note: previous definition is here
#define pthread_cond_timedwait          __libc_cond_timedwait
        ^
13 warnings generated.
In file included from utils.c:56:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/sha1.h:302:12: error: conflicting types for 'hmac'
extern int hmac(SHAversion whichSha, /* which SHA algorithm to use */
           ^
/usr/include/stdlib.h:303:10: note: previous declaration is here
ssize_t  hmac(const char *, const void *, size_t, const void *, size_t, void *,
         ^
In file included from utils.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                *pos = toupper(*pos);
                ~~~~~~~^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:55:44: note: expanded from macro 'AST_INLINE_API'
#define AST_INLINE_API(hdr, body) hdr; hdr body
   [LD] app_record.o -> app_record.so
                                           ^~~~
In file included from utils.c:61:
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                hash = hash * 33 ^ tolower(*str++);
                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
   [LD] app_dial.o -> app_dial.so
utils.c:211:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                else if (!isdigit(*s))
                          ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
utils.c:231:11: warning: implicit declaration of function 'gethostbyname_r' is invalid in C99 [-Wimplicit-function-declaration]
        result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno);
                 ^
utils.c:231:11: warning: this function declaration is not a prototype [-Wstrict-prototypes]
utils.c:231:9: warning: incompatible integer to pointer conversion assigning to 'struct hostent *' from 'int' [-Wint-conversion]
        result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 warnings generated.
17 warnings and 1 error generated.
/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'utils.o' failed
make[1]: *** [utils.o] Error 1
   [LD] app_speech_utils.o -> app_speech_utils.so
   [LD] app_channelredirect.o -> app_channelredirect.so
   [LD] app_ices.o -> app_ices.so
   [LD] app_chanspy.o -> app_chanspy.so
   [LD] app_echo.o -> app_echo.so
   [LD] app_zapateller.o -> app_zapateller.so
   [LD] app_followme.o -> app_followme.so
   [LD] app_verbose.o -> app_verbose.so
   [LD] app_playback.o -> app_playback.so
   [LD] app_directory.o -> app_directory.so
   [LD] app_disa.o -> app_disa.so
   [LD] app_mp3.o -> app_mp3.so
   [LD] app_parkandannounce.o -> app_parkandannounce.so
1 warning generated.
   [LD] app_getcpeid.o -> app_getcpeid.so
   [LD] app_readexten.o -> app_readexten.so
   [LD] app_senddtmf.o -> app_senddtmf.so
   [LD] app_while.o -> app_while.so
   [LD] app_milliwatt.o -> app_milliwatt.so
   [LD] app_exec.o -> app_exec.so
16 warnings generated.
   [LD] app_readfile.o -> app_readfile.so
   [LD] app_stack.o -> app_stack.so
   [LD] app_confbridge.o -> app_confbridge.so
   [LD] app_userevent.o -> app_userevent.so
   [LD] app_sayunixtime.o -> app_sayunixtime.so
   [LD] app_chanisavail.o -> app_chanisavail.so
16 warnings generated.
   [LD] app_transfer.o -> app_transfer.so
   [LD] app_dumpchan.o -> app_dumpchan.so
   [LD] app_test.o -> app_test.so
   [LD] app_nbscat.o -> app_nbscat.so
   [LD] app_sendtext.o -> app_sendtext.so
   [LD] app_image.o -> app_image.so
   [LD] app_softhangup.o -> app_softhangup.so
31 warnings generated.
   [LD] app_minivm.o -> app_minivm.so
   [LD] app_morsecode.o -> app_morsecode.so
   [LD] app_festival.o -> app_festival.so
   [LD] app_system.o -> app_system.so
   [LD] app_mixmonitor.o -> app_mixmonitor.so
   [LD] app_privacy.o -> app_privacy.so
   [LD] app_voicemail.o -> app_voicemail.so
14 warnings generated.
13 warnings generated.
Makefile:347: recipe for target 'main' failed
gmake: *** [main] Error 2
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/comms/asterisk18
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/comms/asterisk18