=> 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.3nb19 menuselect/menuselect --check-deps menuselect.makeopts Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH Building Documentation For: menuselect/menuselect --check-deps menuselect.makeopts /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/pkgsrc.makeopts Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH Generating embedded module rules ... channels pbx apps codecs formats [CC] eagi-test.c -> eagi-test.o [CC] chan_iax2.c -> chan_iax2.o [CC] cdr_manager.c -> cdr_manager.o [CC] astcanary.c -> astcanary.o [CC] func_global.c -> func_global.o [CC] pbx_config.c -> pbx_config.o [CC] app_waituntil.c -> app_waituntil.o [CC] cel_manager.c -> cel_manager.o [CC] cdr_custom.c -> cdr_custom.o [CC] abstract_jb.c -> abstract_jb.o [CC] res_timing_kqueue.c -> res_timing_kqueue.o [CC] format_sln16.c -> format_sln16.o [CC] bridge_builtin_features.c -> bridge_builtin_features.o [CC] bridge_simple.c -> bridge_simple.o [CC] anaFilter.c -> anaFilter.o cdr cel bridges funcs tests main 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 ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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:345: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_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from chan_iax2.c:61: /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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from chan_iax2.c:61: /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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from chan_iax2.c:61: /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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from chan_iax2.c:61: /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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from chan_iax2.c:61: /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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from chan_iax2.c:61: /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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from chan_iax2.c:61: /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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from chan_iax2.c:61: /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:370: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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:343: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] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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_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)])) ^~~~ 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)])) ^~~~ addons 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:343: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:345chan_iax2.c::2767:99:: notewarning: : previous definition is hereabsolute 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_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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_timing_kqueue.c:38: chan_iax2.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h2767:9::31 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.huse function 'labs' instead: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h return abs(ast_random());: 559 ^~~: labs 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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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 In file included from res_timing_kqueue.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3821: : 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/linkedlists.h::3123: : 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::564750:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 935warning:: 10'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: warning: array subscript is of type 'char' [-Wchar-subscripts]#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368: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] *pos = toupper(*pos);#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ ~~~~~~~^~~~~~~~~~~~~~ /usr/include/pthread.h:369/usr/include/sys/ctype_inline.h:9::60 note:: 46previous definition is here: note#define pthread_cond_wait __libc_cond_wait : ^expanded from macro 'toupper' In file included from pbx_config.c:37: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h ^: 26: /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/channel.h52::12747: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21expanded from macro 'AST_INLINE_API': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: # define AST_INLINE_API(hdr, body) inline hdr body/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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: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 [CC] bridge_softmix.c -> bridge_softmix.o 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 ^~~~ 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.cIn file included from :pbx_config.c5985::376: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hnote:: 26use function 'labs' instead: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: if (abs(ms - pred) < MAX_TIMESTAMP_SKEW)In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h ^~~: 30 labs: In file included from /data/scratch/comms/asterisk18/work/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_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) { ^~~ 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)) ^~~~ [CC] constants.c -> constants.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 body ^~~~ 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: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] astcanary.o -> astcanary 13 warnings generated. [CC] pbx_loopback.c -> pbx_loopback.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. 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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: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:367: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:368: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.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] cdr_csv.c -> cdr_csv.o [CC] res_smdi.c -> res_smdi.o 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:343: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:345: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:344: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:342: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:346: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 ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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: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:367: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] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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] In file included from app_waituntil.c:37#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :/usr/include/pthread.h144:: 369In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h9::30 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hprevious definition is here: 750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_cond_wait __libc_cond_wait: 935 ^: 10In file included from :format_sln16.c :warning34: : array subscript is of type 'char' [-Wchar-subscripts]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] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: 46 ^: /usr/include/pthread.hnote:: 370expanded from macro 'toupper': 9: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))note : ^previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47:#define pthread_cond_timedwait __libc_cond_timedwait 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 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: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:343: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:345: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.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:344: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.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_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: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:346: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:366:9: note: 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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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: /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:367:9: 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.hIn file included from :bridge_builtin_features.c:56442:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :warning31: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h : ^935 :/usr/include/pthread.h10::368 :warning9: :array subscript is of type 'char' [-Wchar-subscripts] note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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 *pos = toupper(*pos);: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ~~~~~~~^~~~~~~~~~~~~~ :565:/usr/include/sys/ctype_inline.h9::60 :warning: 46'pthread_cond_wait' macro redefined [-Wmacro-redefined]: note: expanded from macro 'toupper' #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) /usr/include/pthread.h ^: 369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::952:: 47note:: previous definition is herenote: 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 ^~~~ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: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: note13: warningsexpanded from macro 'tolower' generated. #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] acl.c -> acl.o 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] pbx_dundi.c -> pbx_dundi.o 13 warnings generated. [CC] app_sms.c -> app_sms.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: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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] format_g729.c -> format_g729.o [CC] cel_custom.c -> cel_custom.o 13 warnings generated. [CC] func_aes.c -> func_aes.o 13 warnings generated. [CC] createCB.c -> createCB.o 13 warnings generated. [CC] iax2-parser.c -> iax2-parser.o 13 warnings generated. [CC] bridge_multiplexed.c -> bridge_multiplexed.o 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:343: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] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ [CC] adsi.c -> adsi.o 15 warnings generated. [CC] cdr_syslog.c -> cdr_syslog.o 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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:31In file included from : In file included from /data/scratch/comms/asterisk18/work/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:9pbx_loopback.c:: 35warning: : In file included from 'pthread_mutex_trylock' 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:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23344: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::556 :note9: :previous definition is here warning: #define pthread_mutex_trylock __libc_mutex_trylock'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ 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: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:342:9#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^note : previous definition is here /usr/include/pthread.h:343:9#define pthread_mutex_init __libc_mutex_init: ^note : In 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#define pthread_mutex_lock __libc_mutex_lock: 31 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hpbx_loopback.c::3235: : /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.h560:127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : '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:557:9: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy warning ^ : /usr/include/pthread.h'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 346:9: note#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: previous definition is here ^ /usr/include/pthread.h:345:9:#define pthread_mutex_destroy __libc_mutex_destroy note ^: previous definition is here In file included from res_smdi.c:47#define pthread_mutex_unlock __libc_mutex_unlock: ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :pbx_loopback.c31:: 35In 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/channel.h::32127: : /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.h561::219: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning: :'pthread_cond_init' macro redefined [-Wmacro-redefined]23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: 9 ^: /usr/include/pthread.hwarning:: 366'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_cond_init __libc_cond_init/usr/include/pthread.h : ^344 :In file included from 9res_smdi.c:: 47note: : In file included from previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from #define pthread_mutex_trylock __libc_mutex_trylock/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.hpbx_loopback.c::56235:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :warning127: : 'pthread_cond_destroy' 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: #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 : ^559 :/usr/include/pthread.h9::371 :warning9: :'pthread_mutex_init' macro redefined [-Wmacro-redefined] note : previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init#define pthread_cond_destroy __libc_cond_destroy ^ ^ /usr/include/pthread.hIn file included from :res_smdi.c342::479: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hnote:: 31previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_mutex_init __libc_mutex_init32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :pbx_loopback.c563::359: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning:: 127'pthread_cond_signal' 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#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::560367::99:: warningnote: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_cond_signal __libc_cond_signal #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^In file included from res_smdi.c/usr/include/pthread.h::34647:: 9In file included from :/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:#define pthread_mutex_destroy __libc_mutex_destroy32 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :In file included from 564pbx_loopback.c::935:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_cond_broadcast' 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_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/linkedlists.h: 23/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h368::5619:9: :warning : note'pthread_cond_init' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init#define pthread_cond_broadcast __libc_cond_broadcast ^ ^ /usr/include/pthread.hIn file included from :res_smdi.c366::479: : In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :previous definition is here31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_init __libc_cond_init: 32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :pbx_loopback.c565::935:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_cond_wait' 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 /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_wait23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h562::3699::9 :warning : 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 res_smdi.c/usr/include/pthread.h::47371: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31note: : 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_destroy __libc_cond_destroy: 566 ^: 9In file included from :pbx_loopback.c: 35warning: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_timedwait' 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_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: 21 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::37023:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 563note:: 9previous definition is here: warning: '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:367: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:368: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:369: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:370: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 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)])) ^~~~ 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)) ^~~~ [CC] strcompat.c -> strcompat.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: In file included from note: previous definition is here func_aes.c#define pthread_cond_timedwait __libc_cond_timedwait: 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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' In file included from func_aes.c:34: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_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 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 13 warnings generated. [CC] iax2-provision.c -> iax2-provision.o 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)])) ^~~~ [LD] bridge_builtin_features.o -> bridge_builtin_features.so 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 ^ In file included from iax2-parser.c:38: /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h343::369: :In file included from /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:556:#define pthread_mutex_lock __libc_mutex_lock9 : ^ warningIn file included from : app_sms.c'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 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] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ ^In file included from app_sms.c:50: /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::343558::99:: notewarning: : previous definition is here'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock In file included from ^iax2-parser.c :/usr/include/pthread.h38:: 344In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9::36 : 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#define pthread_mutex_trylock __libc_mutex_trylock: 557 ^ :9In file included from :app_sms.c :warning50: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :559:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined] 345:9: note: previous definition is here#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h#define pthread_mutex_unlock __libc_mutex_unlock: 342 ^: 9:In file included from iax2-parser.cnote:: 38previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: #define pthread_mutex_init __libc_mutex_initIn 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_sms.c::558In file included from :509: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hformat_g729.c ::warning56037:: 9In file included from :: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]28 warning: : In file included from 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock36 : #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: :/usr/include/pthread.h23:: 344/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::3469:5569:: 9note::: previous definition is herewarning : note#define pthread_mutex_trylock __libc_mutex_trylock'pthread_mutex_lock' macro redefined [-Wmacro-redefined] : ^ previous definition is here In file included from iax2-parser.c:38: #define pthread_mutex_destroy __libc_mutex_destroyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: ^36 : In file included from In file included from app_sms.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::5023: : /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::#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock559 :561 ^:99:: warningwarning: : /usr/include/pthread.h'pthread_cond_init' macro redefined [-Wmacro-redefined]'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 343:9: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^note : previous definition is here/usr/include/pthread.h :/usr/include/pthread.h366::9#define pthread_mutex_lock __libc_mutex_lock: 342 ^note : :In file included from 9previous definition is hereformat_g729.c ::37 : #define pthread_cond_init __libc_cond_initIn file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h ^: :previous definition is here28In file included from : app_sms.cIn file included from :#define pthread_mutex_init __libc_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h50:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h 36:: 562 ^:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from 9:iax2-parser.c:23: : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h38: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: 557 :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroywarning 36: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23/usr/include/pthread.h#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^:371560::9:9 :/usr/include/pthread.h :note 345: :warning9: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]previous definition is here note: #define pthread_cond_destroy __libc_cond_destroyprevious definition is here#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^ #define pthread_mutex_unlock __libc_mutex_unlockIn file included from app_sms.c/usr/include/pthread.h::50346 :: ^9 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :format_g729.c ::37note: 563: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h ::928:: #define pthread_mutex_destroy __libc_mutex_destroywarningIn file included from : 'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :36In file included from : iax2-parser.cIn 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/linkedlists.h : ^23:: 38/usr/include/pthread.h: /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/frame.h558367::99::: warningnote: 36'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: In 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:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock#define pthread_cond_signal __libc_cond_signal 561 ^ : ^9 :/usr/include/pthread.h In file included from :warning344: app_sms.c'pthread_cond_init' macro redefined [-Wmacro-redefined]: 9::50 : note#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 564/usr/include/pthread.h#define pthread_mutex_trylock __libc_mutex_trylock:: 3669:: ^ 9 warning:: In file included from 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] noteformat_g729.c: :previous definition is here37 : #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/mod_format.h ^#define pthread_cond_init __libc_cond_init: 28/usr/include/pthread.h: : ^In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ::936:: In file included from In file included from iax2-parser.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :note23:: : 38previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :: 559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9#define pthread_cond_broadcast __libc_cond_broadcast:: 36 ^: warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]In file included from : 23app_sms.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h50:: #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.h562 :: ^5659:: /usr/include/pthread.hwarning:9: 342'pthread_cond_destroy' macro redefined [-Wmacro-redefined]::9 :warning : note'pthread_cond_wait' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:#define pthread_mutex_init __libc_mutex_init#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait9 ^ ^: /usr/include/pthread.h :In file included from 369noteformat_g729.c: :previous definition is here: 9:37 : In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: : #define pthread_cond_destroy __libc_cond_destroyIn file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ^: 36In file included from : #define pthread_cond_wait __libc_cond_waitIn file included from iax2-parser.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 38 ^: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h23In file included from :: app_sms.c36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::50: 560: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 566:warning23:: : 9'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :: 563warning:: 9'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: #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#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait : 346 ^: 9/usr/include/pthread.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 370 ^ :/usr/include/pthread.hnote9: :previous definition is here :note : 367previous definition is here :#define pthread_mutex_destroy __libc_mutex_destroy9 #define pthread_cond_timedwait __libc_cond_timedwait: ^ ^noteIn file included from format_g729.c: :previous definition is here37 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h#define pthread_cond_signal __libc_cond_signal: 28 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:In file included from 36iax2-parser.c: :In file included from 38/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:: 561In 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_init' macro redefined [-Wmacro-redefined]564 :9#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: ^warning : /usr/include/pthread.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 366:9: note#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: previous definition is here ^ /usr/include/pthread.h:368:#define pthread_cond_init __libc_cond_init9 : ^ noteIn file included from : format_g729.cprevious definition is here: 37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:#define pthread_cond_broadcast __libc_cond_broadcast28 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :iax2-parser.c36:: 38In 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 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]565 :9: warning#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:371:9:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait note ^: previous definition is here/usr/include/pthread.h :369:9:#define pthread_cond_destroy __libc_cond_destroy note ^ : In file included from previous definition is hereformat_g729.c :37: In file included from #define pthread_cond_wait __libc_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h : ^28 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hiax2-parser.c::3638: : 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: : /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.h563::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning566: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/usr/include/pthread.h : ^367 :/usr/include/pthread.h9::370 :note9: :previous definition is here note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from #define pthread_cond_timedwait __libc_cond_timedwaitformat_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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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' # 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 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 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 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)])) ^~~~ 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)) ^~~~ 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)) ^~~~ 13 warnings generated. 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] func_devstate.c -> func_devstate.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] format_vox.c -> format_vox.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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 ^ [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o /usr/include/pthread.h:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 13 warnings generated. [CC] dundi-parser.c -> dundi-parser.o [CC] res_convert.c -> res_convert.o [LD] bridge_simple.o -> bridge_simple.so [CC] doCPLC.c -> doCPLC.o 13 warnings generated. [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o 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:343: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370: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)])) ^~~~ 11 warnings generated. [CC] alaw.c -> alaw.o [LD] bridge_softmix.o -> bridge_softmix.so 14 warnings generated. 13 warnings generated. [CC] pbx_ael.c -> pbx_ael.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] func_sprintf.c -> func_sprintf.o 13 warnings generated. 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)])) ^~~~ [LD] eagi-sphinx-test.o -> eagi-sphinx-test 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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 ^ [LD] bridge_multiplexed.o -> bridge_multiplexed.so /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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: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_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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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.hIn file included from :566:9: dundi-parser.cwarning:: 37'pthread_cond_timedwait' 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: ^ 23/usr/include/pthread.h:: 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9556:: 9note: previous definition is here: warning: #define pthread_cond_timedwait __libc_cond_timedwait'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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)])) ^~~~ 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)])) ^~~~ [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. [LD] cel_manager.o -> cel_manager.so 37 warnings generated. [CC] app_alarmreceiver.c -> app_alarmreceiver.o 13 warnings generated. [CC] format_wav.c -> format_wav.o 13 warnings generated. [CC] res_config_ldap.c -> res_config_ldap.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:343: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:345: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:344: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:342: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:21: In file included from /data/scratch/comms/asterisk18/work/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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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] [LD] cdr_manager.o -> cdr_manager.so #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] cel_custom.o -> cel_custom.so 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)])) ^~~~ 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)])) ^~~~ 14 warnings generated. [CC] chan_sip.c -> chan_sip.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from pbx_ael.c:45 [CC] aoc.c -> aoc.o : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] enhancer.c -> enhancer.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: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] func_sysinfo.c -> func_sysinfo.o [CC] app_externalivr.c -> app_externalivr.o 13 warnings generated. [CC] pbx_realtime.c -> pbx_realtime.o 13 warnings generated. 13 warnings generated. [CC] filter.c -> filter.o [CC] f2clib.c -> f2clib.o [LD] cdr_custom.o -> cdr_custom.so [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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 ^ [CC] app_dictate.c -> app_dictate.o /usr/include/pthread.h:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] cdr_csv.o -> cdr_csv.so 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 ^~~~ 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. [CC] analys.c -> analys.o [CC] src/add.c -> src/add.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343:In file included from 9aoc.c:: 33note: : In file included from previous definition is here/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:#define pthread_mutex_lock __libc_mutex_lock144 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:In file included from 30chan_sip.c: :In file included from 221/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.h750:: 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::9935:: 10warning:: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345: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] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: 60 ^:46 :/usr/include/pthread.h :note344: :expanded from macro 'toupper'9 : note: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))previous definition is here ^ #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h : ^52: 47:In file included from chan_sip.cnote:: 221expanded from macro 'AST_INLINE_API': /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:# define AST_INLINE_API(hdr, body) inline hdr body9 : ^~~~ 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:342: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] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroyIn file included from aoc.c ^: 33: In file included from In file included from chan_sip.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h::29221: : 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::561144:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: 30warning: : In file included from 'pthread_cond_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/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:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init22 : ^ warning/usr/include/pthread.h: :array subscript is of type 'char' [-Wchar-subscripts]366 :9: note hash = hash * 33 ^ tolower(*str++);: previous definition is here ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:#define pthread_cond_init __libc_cond_init 59 ^ :In file included from 46chan_sip.c: :note221: : expanded from macro 'tolower'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 562:9: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from chan_sip.c:221: /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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from chan_sip.c:221: /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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from chan_sip.c:221: /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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from chan_sip.c:221: /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:370: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 ^ /usr/include/pthread.h:343: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:345:9: noteIn file included from : chan_sip.cprevious definition is here: 222: In file included from #define pthread_mutex_unlock __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h : ^30 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.happ_externalivr.c::75044: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::935558::109:: warningwarning: : array subscript is of type 'char' [-Wchar-subscripts]'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock *pos = toupper(*pos); ^ ~~~~~~~^~~~~~~~~~~~~~ /usr/include/pthread.h:344:/usr/include/sys/ctype_inline.h9::60 :note46: :previous definition is here note: expanded from macro 'toupper'#define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))app_externalivr.c : ^44 : /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/inline_api.h::55952::947:: warningnote: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^~~~ ^ /usr/include/pthread.h:342: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:346: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]In file included from chan_sip.c:222: 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/config.h : ^30 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h366::7509: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :note994: :previous definition is here22 : warning: array subscript is of type 'char' [-Wchar-subscripts]#define pthread_cond_init __libc_cond_init ^ hash = hash * 33 ^ tolower(*str++);In file included from app_externalivr.c ^~~~~~~~~~~~~~~: 44/usr/include/sys/ctype_inline.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h59::56246::9 :note : warningexpanded from macro 'tolower': 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ [LD] cdr_syslog.o -> cdr_syslog.so 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:343: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:345: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:344: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_sysinfo.c [CC] bsynz.c -> bsynz.o :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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. [CC] format_gsm.c -> format_gsm.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)) { ~~~~ ^ ~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/code.c -> src/code.o 13 warnings generated. 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] sip/config_parser.c -> sip/config_parser.o 13 warnings generated. 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] func_pitchshift.c -> func_pitchshift.o 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); } \ ^ 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 : "", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "" ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~ /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 : "", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "" ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~ /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__); \ ^~~~~~~~~~~ [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so 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'; ^~~~ 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)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ 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)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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] FrameClassify.c -> FrameClassify.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__) ^~~~~~~~~~~ 13 warnings generated. 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)) { ^~ = 13 warnings generated. [CC] pbx_spool.c -> pbx_spool.o 13 warnings generated. [CC] res_realtime.c -> res_realtime.o [CC] app.c -> app.o 25 warnings and 6 errors generated. /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/debug.c -> src/debug.o [CC] codec_alaw.c -> codec_alaw.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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] [CC] format_ilbc.c -> format_ilbc.o *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)])) ^~~~ 14 warnings generated. [CC] app_macro.c -> app_macro.o [LD] pbx_config.o -> pbx_config.so [CC] format_siren14.c -> format_siren14.o [CC] chanwr.c -> chanwr.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: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. [CC] ast_expr2.c -> ast_expr2.o 13 warnings generated. [CC] codec_g722.c -> codec_g722.o [CC] app_cdr.c -> app_cdr.o [CC] g722/g722_encode.c -> g722/g722_encode.o 13 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] res_pktccops.c -> res_pktccops.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)])) ^~~~ 13 warnings generated. 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:343: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:345: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.hIn file included from :558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] pbx_spool.c:47: #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 : ^556 :/usr/include/pthread.h:9344::9 :warning : note'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 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:342: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.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/usr/include/pthread.h::560343:9::9 :warning : note'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy #define pthread_mutex_lock __libc_mutex_lock ^ ^/usr/include/pthread.h: 346:In file included from 9pbx_spool.c:: 47note: : previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_destroy __libc_mutex_destroy557 : ^9 :In file included from app.cwarning:: 51'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h:23:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:345561::99:: warning: '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 ^ /usr/include/pthread.h#define pthread_mutex_unlock __libc_mutex_unlock: 366: ^9 :In file included from notepbx_spool.c: :previous definition is here47 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_init __libc_cond_init 558 ^: 9In file included from :app.c: 51warning: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_mutex_trylock' 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^:562: 9/usr/include/pthread.h:: warning: 344'pthread_cond_destroy' macro redefined [-Wmacro-redefined] :9: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroynote ^ : /usr/include/pthread.hprevious definition is here:371 :9: #define pthread_mutex_trylock __libc_mutex_trylocknote: previous definition is here ^ #define pthread_cond_destroy __libc_cond_destroy In file included from ^ pbx_spool.cIn file included from :app.c47:51: : /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.h::559127: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:warning23: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :563:9: warning#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:342#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: ^9 :/usr/include/pthread.h: 367note:: 9previous definition is here: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^#define pthread_cond_signal __libc_cond_signal ^In file included from pbx_spool.cIn file included from :app.c:5147: : 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:127: :In file included from 560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921:: 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_mutex_destroy' macro redefined [-Wmacro-redefined]:564 :9: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroywarning : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^346 :/usr/include/pthread.h9::368 :note9: :previous definition is here note: #define pthread_mutex_destroy __libc_mutex_destroyprevious definition is here ^ #define pthread_cond_broadcast __libc_cond_broadcastIn file included from pbx_spool.c ^ :In file included from app.c47:: 51: 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::561127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:'pthread_cond_init' macro redefined [-Wmacro-redefined]23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init9 : ^ warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait366 : ^ 9/usr/include/pthread.h::369 :9note:: previous definition is herenote : previous definition is here #define pthread_cond_init __libc_cond_init ^#define pthread_cond_wait __libc_cond_wait In file included from ^pbx_spool.c :In file included from 47app.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h51:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h562::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:warning21: : 'pthread_cond_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:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy566: 9 ^: warning: /usr/include/pthread.h'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] :371:9:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait note ^ : /usr/include/pthread.h:previous definition is here370 :9: #define pthread_cond_destroy __libc_cond_destroynote : ^previous definition is here In file included from pbx_spool.c:47#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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] func_curl.c -> func_curl.o [CC] src/decode.c -> src/decode.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 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] 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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock10: ^warning : array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/pthread.h:/usr/include/sys/ctype_inline.h343::609::46 : notenote: : expanded from macro 'toupper'previous definition is here #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^#define pthread_mutex_lock __libc_mutex_lock /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h ^: 52:47In file included from :app_macro.c note: :expanded from macro 'AST_INLINE_API'38 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127# define AST_INLINE_API(hdr, body) inline hdr body: ^~~~In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from In file included from pbx_spool.capp_macro.c::5038: : In file included from /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.h144:: 127In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:: 30In 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/utils.h:21750: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h994::2322: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning558: :array subscript is of type 'char' [-Wchar-subscripts] 9: hash = hash * 33 ^ tolower(*str++);warning : ^~~~~~~~~~~~~~~'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) /usr/include/pthread.h ^~~~ :344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] gainquant.c -> gainquant.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: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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] ast_expr2f.c -> ast_expr2f.o 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 ^~~~ 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. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/long_term.c -> src/long_term.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: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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:21: In file included from /data/scratch/comms/asterisk18/work/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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 13 warnings generated. [CC] format_h263.c -> format_h263.o [CC] getCBvec.c -> getCBvec.o 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] dcbias.c -> dcbias.o 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:343: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:345: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:344: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:342: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:346: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from 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:23res_pktccops.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h57:: 562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_cond_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_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 : ^556 :/usr/include/pthread.h:9371:: 9warning:: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockIn 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:367:9: /usr/include/pthread.hnote:: 343previous definition is here: 9: note#define pthread_cond_signal __libc_cond_signal: previous definition is here ^ In file included from codec_g722.c:#define pthread_mutex_lock __libc_mutex_lock44 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23res_pktccops.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:57564: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :warning127: : 'pthread_cond_broadcast' 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#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 557 ^: 9/usr/include/pthread.h::368 :warning9: :'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#define pthread_cond_broadcast __libc_cond_broadcast ^ ^ /usr/include/pthread.hIn file included from :codec_g722.c345::449: :In file included from /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:565:9#define pthread_mutex_unlock __libc_mutex_unlock: ^warning : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]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#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :/usr/include/pthread.h21:: 369In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9::23 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here558 :9: #define pthread_cond_wait __libc_cond_waitwarning : ^'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] In file included from codec_g722.c:44: In file included from #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/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::344566::99:: notewarning: : previous definition is here'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock __libc_mutex_trylock ^#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^In file included from res_pktccops.c/usr/include/pthread.h::37057:: 9In 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_cond_timedwait __libc_cond_timedwait: In file included from ^/data/scratch/comms/asterisk18/work/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:342: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_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 20 warnings generated. 13 warnings generated. 13 warnings generated. 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)])) ^~~~ 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' [CC] app_talkdetect.c -> app_talkdetect.o # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ 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)])) ^~~~ Makefile:347: recipe for target 'channels' failed gmake: *** [channels] Error 2 gmake: *** Waiting for unfinished jobs.... [CC] format_siren7.c -> format_siren7.o [CC] func_strings.c -> func_strings.o [LD] pbx_loopback.o -> pbx_loopback.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from ast_expr2.fl:64: /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.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)])) ^~~~ [CC] decode.c -> decode.o 13 warnings generated. [CC] helpfun.c -> helpfun.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so 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] deemp.c -> deemp.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) { ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 14 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:343: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 [CC] app_directed_pickup.c -> app_directed_pickup.o : In file included from /data/scratch/comms/asterisk18/work/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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] pbx_ael.o -> pbx_ael.so 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)])) ^~~~ [CC] res_adsi.c -> res_adsi.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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); } \ ^ 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: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ func_strings.c:1395:82: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((bufptr < ast_str_buffer(*buf) + ast_str_size(*buf) - 1) && (*bufptr++ = toupper(*dataptr++))); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ [CC] app_db.c -> app_db.o 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:1424:82: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((bufptr < ast_str_buffer(*buf) + ast_str_size(*buf) - 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)])) ^~~~ In file included from format_siren7.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_siren7.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)])) ^~~~ 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] g722/g722_decode.c -> g722/g722_decode.o In file included from app_talkdetect.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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_talkdetect.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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_talkdetect.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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_talkdetect.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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_talkdetect.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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_talkdetect.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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_talkdetect.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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_talkdetect.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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/lpc.c -> src/lpc.o 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)])) ^~~~ 13 warnings generated. [CC] format_g726.c -> format_g726.o 13 warnings generated. [CC] format_pcm.c -> format_pcm.o 15 warnings generated. [LD] pbx_realtime.o -> pbx_realtime.so Makefile:347: recipe for target 'funcs' failed gmake: *** [funcs] Error 2 [CC] res_crypto.c -> res_crypto.o [CC] codec_adpcm.c -> codec_adpcm.o 13 warnings generated. [CC] format_wav_gsm.c -> format_wav_gsm.o [CC] src/preprocess.c -> src/preprocess.o 15 warnings generated. [LD] pbx_spool.o -> pbx_spool.so [CC] asterisk.c -> asterisk.o 13 warnings generated. [CC] difmag.c -> difmag.o [CC] res_phoneprov.c -> res_phoneprov.o [CC] hpInput.c -> hpInput.o [CC] dyptrk.c -> dyptrk.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:343: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:345: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:344: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:342: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:346: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:21: In file included from /data/scratch/comms/asterisk18/work/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:366: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:371: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:367: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:368: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:369: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:370: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: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_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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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)])) ^~~~ 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ [CC] hpOutput.c -> hpOutput.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. In file included from res_crypto.c:44: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hasterisk.c::556116:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h :warning30: : '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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^/usr/include/pthread.h :In file included from 343res_crypto.c::944:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :previous definition is here31 : In file included from #define pthread_mutex_lock __libc_mutex_lock/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.hasterisk.c::557116:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h :warning30: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h557::3459::9 :warning : note'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock #define pthread_mutex_unlock __libc_mutex_unlock ^ ^/usr/include/pthread.h :345In file included from :res_crypto.c9::44 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31#define pthread_mutex_unlock __libc_mutex_unlock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 32: asterisk.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::116558: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:: 30warning: : In file included from 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 23: #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 : ^558 :/usr/include/pthread.h9::344 :warning9: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] note: previous definition is here [CC] codec_ulaw.c -> codec_ulaw.o #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h#define pthread_mutex_trylock __libc_mutex_trylock: 344 ^: 9In file included from :res_crypto.c :note44: : 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_trylock __libc_mutex_trylock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 32asterisk.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h116:: 559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h9::30 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^warning : /usr/include/pthread.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 342:9: note#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: previous definition is here ^ /usr/include/pthread.h#define pthread_mutex_init __libc_mutex_init: 342 ^: 9:In file included from res_crypto.cnote:: 44: 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_init __libc_mutex_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 32asterisk.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h116:: 560In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h9::30 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 23: /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]: 346:9: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroynote : ^previous definition is here /usr/include/pthread.h:346:#define pthread_mutex_destroy __libc_mutex_destroy9 : ^ note: In file included from previous definition is hereres_crypto.c :44: In file included from #define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h : ^31 : In file included from In file included from asterisk.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::11632: : 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/cli.h::56130:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :561:9: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initwarning : ^'pthread_cond_init' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:366:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init9 : ^ note/usr/include/pthread.h: :previous definition is here366 :9: note#define pthread_cond_init __libc_cond_init: previous definition is here ^ In file included from #define pthread_cond_init __libc_cond_initres_crypto.c : ^44 : In file included from In file included from asterisk.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::11631: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::3032: : 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::56223:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 562warning:: 9'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: 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#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 371 ^: 9/usr/include/pthread.h: :371note:: 9previous definition is here: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_cond_destroy __libc_cond_destroy In file included from ^res_crypto.c :44In file included from : asterisk.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h116:: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:In file included from 30/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from 32/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:: 563/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9::563 :warning9: :'pthread_cond_signal' macro redefined [-Wmacro-redefined] 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#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 367 ^: 9/usr/include/pthread.h:: 367note:: 9previous definition is here: note: #define pthread_cond_signal __libc_cond_signalprevious definition is here ^ #define pthread_cond_signal __libc_cond_signalIn file included from res_crypto.c ^: 44In file included from : asterisk.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h116:: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h30:: 32In 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::23564: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::564 :warning9: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast /usr/include/pthread.h ^: 368/usr/include/pthread.h::9368:: 9note:: previous definition is herenote : previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^#define pthread_cond_broadcast __libc_cond_broadcast ^In file included from res_crypto.cIn file included from :asterisk.c44:: 116: 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/cli.h::3130: : 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/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::565565::99:: 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/usr/include/pthread.h::369369::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_wait __libc_cond_wait#define pthread_cond_wait __libc_cond_wait ^ ^ In file included from In file included from res_crypto.c:44asterisk.c: :In file included from 116/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/cli.h: :In file included from 30/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from 32/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:: 9warning:: '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 #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ ^/usr/include/pthread.h :/usr/include/pthread.h370:370::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_timedwait __libc_cond_timedwait#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 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 13 warnings generated. 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)])) ^~~~ [CC] app_waitforring.c -> app_waitforring.o [CC] encode.c -> encode.o [CC] iCBConstruct.c -> iCBConstruct.o 13 warnings generated. 13 warnings generated. [CC] res_timing_pthread.c -> res_timing_pthread.o [CC] energy.c -> energy.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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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: /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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/rpe.c -> src/rpe.o 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)) ^~~~ 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] asterisk.c:2656:8: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); if (isspace(*ptr)) { ~~~~~~~^~~~~~~~~~~~~~ ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:/usr/include/sys/ctype_inline.h56::6044::46 :note : noteexpanded from macro 'isspace': expanded from macro 'toupper' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) #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)])) ^~~~ 13 warnings generated. [CC] app_amd.c -> app_amd.o [CC] src/gsm_destroy.c -> src/gsm_destroy.o [CC] codec_ilbc.c -> codec_ilbc.o 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:343: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:345: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:344: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:342: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:346: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:366: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: /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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ [CC] ham84.c -> ham84.o [CC] src/gsm_decode.c -> src/gsm_decode.o 13 warnings generated. [CC] iCBSearch.c -> iCBSearch.o [CC] res_jabber.c -> res_jabber.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370: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)])) ^~~~ 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] codec_g726.c -> codec_g726.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] iLBC_decode.c -> iLBC_decode.o 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)])) ^~~~ [CC] codec_a_mu.c -> codec_a_mu.o 13 warnings generated. 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] format_jpeg.c -> format_jpeg.o 13 warnings generated. [CC] codec_lpc10.c -> codec_lpc10.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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)])) ^~~~ [CC] format_g723.c -> format_g723.o 13 warnings generated. [CC] iLBC_encode.c -> iLBC_encode.o [CC] codec_gsm.c -> codec_gsm.o 13 warnings generated. [CC] format_g719.c -> format_g719.o [CC] hp100.c -> hp100.o [CC] codec_speex.c -> codec_speex.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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: 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: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)])) ^~~~ [CC] src/gsm_encode.c -> src/gsm_encode.o [CC] invert.c -> invert.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: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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:res_jabber.c750:: 1367/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::12935:: 10warning:: array subscript is of type 'char' [-Wchar-subscripts]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)) ^~~~ *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)])) ^~~~ [CC] app_forkcdr.c -> app_forkcdr.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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:561:9In file included from : codec_g726.cwarning:: 38'pthread_cond_init' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initwarning : ^'pthread_mutex_lock' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ ^/usr/include/pthread.h :371:9: note: previous definition is here /usr/include/pthread.h:343:9#define pthread_cond_destroy __libc_cond_destroy: ^note : In file included from previous definition is herecodec_a_mu.c :34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h#define pthread_mutex_lock __libc_mutex_lock: 31 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hcodec_g726.c::3238: : /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::563557::99:: warningwarning: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^/usr/include/pthread.h :/usr/include/pthread.h367::9345:: 9note:: previous definition is herenote : previous definition is here #define pthread_cond_signal __libc_cond_signal ^ #define pthread_mutex_unlock __libc_mutex_unlockIn file included from codec_a_mu.c ^: 34In file included from : codec_g726.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h38:: 31/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/utils.h::932:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 564'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 9 ^: /usr/include/pthread.hnote:: 368previous definition is here: 9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from #define pthread_cond_broadcast __libc_cond_broadcastcodec_g726.c : ^38 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 559codec_a_mu.c::934:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :'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:32: /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_init565 :9 ^: /usr/include/pthread.hwarning:: 342'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 9: note: previous definition is here #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:#define pthread_mutex_init __libc_mutex_init369 : ^9 :In file included from codec_g726.cnote:: 38previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9#define pthread_cond_wait __libc_cond_wait: ^warning : 'pthread_mutex_destroy' 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_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy /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.h346::5669::9 :note : warningprevious definition is here: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy __libc_mutex_destroy ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait In file included from ^codec_g726.c :/usr/include/pthread.h38:: 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9561:: 9note:: previous definition is herewarning : 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366: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:371: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:367: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:368: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:369: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:370:9: noteIn file included from : previous definition is here #define pthread_cond_timedwait __libc_cond_timedwaitformat_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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: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_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: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 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] iLBC_test.c -> iLBC_test.o 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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] app_read.c -> app_read.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368:9: note: previous definition is here #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:369: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:13370 warning:s9 generated. : note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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:563:9: [CC] astfd.c -> astfd.o 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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #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: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] codec_alaw.o -> codec_alaw.so 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] [CC] res_curl.c -> res_curl.o *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)])) ^~~~ 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)])) ^~~~ [CC] src/gsm_explode.c -> src/gsm_explode.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:343: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:345: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:344: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] 18 warnings#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init generated. ^ /usr/include/pthread.h:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] LPCdecode.c -> LPCdecode.o [CC] irc2pc.c -> irc2pc.o 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)])) ^~~~ [CC] format_sln.c -> format_sln.o [CC] LPCencode.c -> LPCencode.o 13 warnings generated. [CC] ivfilt.c -> ivfilt.o 13 warnings generated. [CC] astmm.c -> astmm.o [CC] format_h264.c -> format_h264.o 13 warnings generated. [CC] src/gsm_implode.c -> src/gsm_implode.o [CC] astobj2.c -> astobj2.o 13 warnings generated. [CC] app_adsiprog.c -> app_adsiprog.o [CC] res_speech.c -> res_speech.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ [CC] lsf.c -> lsf.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] audiohook.c -> audiohook.o 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] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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 ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344: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:342: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:346: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:366: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:371:9: note: previous definition is here In file included from format_sln.c#define pthread_cond_destroy __libc_cond_destroy: 34 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.happ_adsiprog.c::3142: : 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::750127: : /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/astobj2.h935::2110: :In 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.harray subscript is of type 'char' [-Wchar-subscripts]: 563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/sys/ctype_inline.h/usr/include/pthread.h::36760::946: note:: previous definition is herenote : expanded from macro 'toupper' #define pthread_cond_signal __libc_cond_signal ^ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))In file included from app_adsiprog.c ^: 42: /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/channel.h52::12747: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21expanded from macro 'AST_INLINE_API': In file included from /data/scratch/comms/asterisk18/work/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 AST_INLINE_API(hdr, body) inline hdr body: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:368: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:369:9: note: previous definition is here In file included from format_sln.c#define pthread_cond_wait __libc_cond_wait: 34 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.happ_adsiprog.c::4231: : 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/utils.h127:: 750In 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/strings.h::21994: :In file included from 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :warning23: : array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait note ^: expanded from macro 'tolower'/usr/include/pthread.h :370:9: note: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))previous definition is here ^~~~ #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] res_agi.c -> res_agi.o 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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] [CC] lpcdec.c -> lpcdec.o #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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; ~ ^~~ [CC] src/gsm_create.c -> src/gsm_create.o 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: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] app_waitforsilence.c -> app_waitforsilence.o [CC] res_mutestream.c -> res_mutestream.o 13 warnings generated. [CC] lpcenc.c -> lpcenc.o [CC] app_controlplayback.c -> app_controlplayback.o [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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)])) ^~~~ [CC] packing.c -> packing.o 13 warnings generated. [CC] src/gsm_print.c -> src/gsm_print.o [CC] app_url.c -> app_url.o [CC] StateConstructW.c -> StateConstructW.o 13 warnings generated. [LD] format_sln16.o -> format_sln16.so [CC] autochan.c -> autochan.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:127src/gsm_create.c: :In file included from 7/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::1921:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :unused variable 'ident' [-Wunused-const-variable]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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from audiohook.cstatic char const ident[] = "$Header$";: 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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:audiohook.c127:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21In file included from : /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/linkedlists.h::23144: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564: :9In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hwarning:: 30'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/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:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast 10 ^ :/usr/include/pthread.h :warning368:: 9:array subscript is of type 'char' [-Wchar-subscripts] note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_mutestream.c:49: In file included from *pos = toupper(*pos);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 127 ~~~~~~~^~~~~~~~~~~~~~: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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/sys/ctype_inline.h:23: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:60565::946: :warning : 'pthread_cond_wait' macro redefined [-Wmacro-redefined] note: expanded from macro 'toupper' #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 9: ^note : previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47#define pthread_cond_wait __libc_cond_wait: ^ noteIn file included from : res_mutestream.c:expanded from macro 'AST_INLINE_API'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:# define AST_INLINE_API(hdr, body) inline hdr body21: In file included from ^~~~/data/scratch/comms/asterisk18/work/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:370: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: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 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)])) ^~~~ 1 warning generated. 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 ^ [LD] format_g729.o -> format_g729.so /usr/include/pthread.h:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342:9: note: previous definition is here 13#define pthread_mutex_init __libc_mutex_init warning s ^ generated. 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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] res_monitor.c -> res_monitor.o In file included from [CC] lpfilt.c -> lpfilt.o 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)])) ^~~~ 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 ^~~~ 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)])) ^~~~ 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)])) ^~~~ 13 warnings generated. [LD] format_vox.o -> format_vox.so [CC] median.c -> median.o [LD] codec_adpcm.o -> codec_adpcm.so 13 warnings generated. [CC] autoservice.c -> autoservice.o 13 warnings generated. [LD] format_wav.o -> format_wav.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] StateSearchW.c -> StateSearchW.o 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)])) ^~~~ 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' [CC] src/gsm_option.c -> src/gsm_option.o #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)])) ^~~~ 13 warnings generated. [CC] bridging.c -> bridging.o [CC] mload.c -> mload.o 14 warnings generated. [LD] codec_ulaw.o -> codec_ulaw.so 13 warnings generated. [CC] callerid.c -> callerid.o [CC] onset.c -> onset.o [LD] format_gsm.o -> format_gsm.so 13 warnings generated. [LD] codec_g726.o -> codec_g726.so 13 warnings generated. [CC] res_musiconhold.c -> res_musiconhold.o 18 warnings generated. [LD] codec_a_mu.o -> codec_a_mu.so [CC] app_originate.c -> app_originate.o [CC] res_stun_monitor.c -> res_stun_monitor.o [CC] syntFilter.c -> syntFilter.o [CC] ccss.c -> ccss.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ [CC] src/short_term.c -> src/short_term.o [LD] format_ilbc.o -> format_ilbc.so [CC] cdr.c -> cdr.o 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] codec_speex.o -> codec_speex.so 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)])) ^~~~ [CC] app_authenticate.c -> app_authenticate.o 13 warnings generated. [CC] app_playtones.c -> app_playtones.o 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_setcallerid.c -> app_setcallerid.o [LD] format_siren14.o -> format_siren14.so [CC] src/table.c -> src/table.o 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)])) ^~~~ [CC] pitsyn.c -> pitsyn.o 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)) ^~~~ 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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345: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_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370: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: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] app_celgenuserevent.c -> app_celgenuserevent.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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)])) ^~~~ [LD] format_h263.o -> format_h263.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ res_musiconhold.c:1378:50: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!strcasecmp(tmp->name, "digit") && (isdigit(*tmp->value) || strchr("*#", *tmp->value))) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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)) ^~~~ 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 ); \ ~ ^ 13 warnings generated. 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)])) ^~~~ [CC] cel.c -> cel.o 13 warnings generated. 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) { ^ ( ) [CC] placea.c -> placea.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_siren7.o -> format_siren7.so 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 app_setcallerid.c:37: /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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_setcallerid.c:37: /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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_setcallerid.c:37: /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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_setcallerid.c:37: /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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_setcallerid.c:37: /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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_setcallerid.c:37: /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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_setcallerid.c:37: /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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_setcallerid.c:37: /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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_setcallerid.c:37: /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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_setcallerid.c:37: /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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_setcallerid.c:37: /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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [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 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] *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_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: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] channel.c -> channel.o 13 warnings generated. [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so 13 warnings generated. [CC] app_queue.c -> app_queue.o 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] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_g726.o -> format_g726.so 4 warnings generated. 13 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 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)])) ^~~~ [CC] chanvars.c -> chanvars.o [CC] res_calendar.c -> res_calendar.o 13 warnings generated. [LD] format_pcm.o -> format_pcm.so [CC] placev.c -> placev.o [CC] cli.c -> cli.o [CC] app_record.c -> app_record.o 13 warnings generated. [CC] config.c -> config.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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] [CC] res_fax.c -> res_fax.o #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369: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:370: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)])) ^~~~ 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_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_wav_gsm.o -> format_wav_gsm.so 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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__); \ ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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:368: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:369: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: warningIn file included from : channel.c:42'pthread_cond_timedwait' 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: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 pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: 750: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :/usr/include/pthread.h935::37010::9 :warning: array subscript is of type 'char' [-Wchar-subscripts]note : previous definition is here *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_cond_timedwait __libc_cond_timedwait /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)])) ^~~~ 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: 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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) && ~~~~~~~~~~^~~~~~~ ~~ [LD] format_jpeg.o -> format_jpeg.so 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)])) ^~~~ 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 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:343: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:345: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 15In file included from warningcli.c:43s: generated. 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:366: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:371: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:367: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:368: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ [CC] app_dial.c -> app_dial.o 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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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); ^ 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:9app_queue.c:: 5021warning: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]18 : note: use function 'labs' instead holdtime = abs((now - qe->start) / 60); ^~~ labs #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.happ_queue.c::3435022::922:: notewarning: : previous definition is hereabsolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] #define pthread_mutex_lock __libc_mutex_lock ^ holdtimesecs = abs((now - qe->start) % 60); 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:24app_queue.c: :In file included from 5022/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::2230:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote:: use function 'labs' instead32 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning holdtimesecs = abs((now - qe->start) % 60);: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] ^~~ labs #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345: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:344: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:342: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:346: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:366: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] app_queue.c#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 5123 ^: 19/usr/include/pthread.h:: 371warning:: 9address of array 'qe->parent->monfmt' will always evaluate to 'true' [-Wpointer-bool-conversion]: note: previous definition is here if (qe->parent->monfmt && *qe->parent->monfmt) { ~~~~~~~~~~~~^~~~~~ ~~ #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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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:In file included from 52:47: note: expanded from macro 'AST_INLINE_API'config.c :46: # define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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] 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: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockarray subscript is of type 'char' [-Wchar-subscripts] ^ hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~/usr/include/pthread.h :/usr/include/sys/ctype_inline.h343::599::46 :note : noteprevious definition is here: expanded from macro 'tolower' #define pthread_mutex_lock __libc_mutex_lock #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ^~~~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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] preemp.c -> preemp.o 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)])) ^~~~ 13 warnings generated. [LD] format_g723.o -> format_g723.so 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)) ^~~~ 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)])) ^~~~ 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] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note [CC] res_limit.c -> res_limit.o : 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] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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[] = ^ 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)])) ^~~~ 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)])) ^~~~ 15 warnings generated. 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 [CC] app_speech_utils.c -> app_speech_utils.o [LD] format_g719.o -> format_g719.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 14 warnings generated. [CC] prepro.c -> prepro.o [CC] res_ael_share.c -> res_ael_share.o 13 warnings generated. 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: [LD] format_sln.o -> format_sln.so 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)])) ^~~~ [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366:9: note: 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:371: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:367: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:368: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:369: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:370: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 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: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: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)])) ^~~~ [LD] format_h264.o -> format_h264.so [CC] app_channelredirect.c -> app_channelredirect.o [CC] random.c -> random.o [CC] data.c -> data.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] app_ices.c -> app_ices.o 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: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: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] datastore.c -> datastore.o 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:343: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:345: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:344: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_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: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] app_chanspy.c -> app_chanspy.o 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] rcchk.c -> rcchk.o [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: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. [CC] ael/ael_lex.c -> ael/ael_lex.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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)])) ^~~~ 13 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_echo.c -> app_echo.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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)])) ^~~~ [CC] synths.c -> synths.o 13 warnings generated. [CC] devicestate.c -> devicestate.o 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 17 warnings generated. [CC] app_zapateller.c -> app_zapateller.o 13 warnings generated. [CC] tbdm.c -> tbdm.o 16 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:343: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:345: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_followme.c -> app_followme.o 19 warnings generated. 13 warnings generated. [CC] voicin.c -> voicin.o 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)])) ^~~~ [CC] dial.c -> dial.o 13 warnings generated. [CC] app_verbose.c -> app_verbose.o 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++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ [CC] ael/ael.tab.c -> ael/ael.tab.o 14 warnings generated. [CC] dns.c -> dns.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. [CC] app_playback.c -> app_playback.o 13 warnings generated. 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367: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 [CC] ael/pval.c -> ael/pval.o : /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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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)])) [CC] dnsmgr.c -> dnsmgr.o ^~~~ 13 warnings generated. 14 warnings generated. [CC] res_clioriginate.c -> res_clioriginate.o [CC] app_directory.c -> app_directory.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] dsp.c -> dsp.o 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. [CC] vparms.c -> vparms.o 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: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:343:9: note: previous definition is here #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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] enum.c -> enum.o 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:12713: warningIn file included from s/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h generated. :21: In file included from /data/scratch/comms/asterisk18/work/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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] res_config_curl.c -> res_config_curl.o 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' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ 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: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_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 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:343: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:345: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:344: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:342: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:346: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] app_directory.c:178:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init11 : ^ warning/usr/include/pthread.h: :array subscript is of type 'char' [-Wchar-subscripts]366 :9: note digit = toupper(*text++);: previous definition is here ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:#define pthread_cond_init __libc_cond_init46 : ^ note: In file included from expanded from macro 'toupper'app_playback.c :37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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. 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:343: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:345: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: In file included from /data/scratch/comms/asterisk18/work/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:344: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:342: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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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:346: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:366: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 res_clioriginate.c ^: 35/usr/include/pthread.h: :In file included from 371/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :previous definition is here21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_cond_destroy __libc_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^556 :In file included from 9ael/pval.c:: 44warning: : In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 9 ^: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :343:9:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal note ^: previous definition is here/usr/include/pthread.h :367:9#define pthread_mutex_lock __libc_mutex_lock: ^note : In file included from previous definition is hereres_clioriginate.c :35: #define pthread_cond_signal __libc_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127In file included from : ael/pval.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h44:: 21In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h26:: 23In 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.h127:: 557In file included from In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::dsp.c :warning5321: : 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/linkedlists.h:'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]:3623: 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::#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock23 : 564/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9556: ^: /usr/include/pthread.h9warning:: 345warning: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: note: #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcastprevious definition is here ^ /usr/include/pthread.h:368#define pthread_mutex_unlock __libc_mutex_unlock: 9#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^ ^ In file included from noteres_clioriginate.c: :previous definition is here35 : #define pthread_cond_broadcast __libc_cond_broadcast In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127In file included from : ael/pval.cIn file included from :/usr/include/pthread.h44:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: 343In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:9:21:26 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :previous definition is here127 : 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#define pthread_mutex_lock __libc_mutex_lock:: 21 ^23: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: dsp.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 53:: 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:::36 565warning:: 9: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_wait' macro redefined [-Wmacro-redefined]23 : #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#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 557 ^: ^9 /usr/include/pthread.h/usr/include/pthread.h::369344::9:: warning9: note'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]:: previous definition is herenote : previous definition is here #define pthread_cond_wait __libc_cond_wait ^#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock#define pthread_mutex_trylock __libc_mutex_trylock ^ ^ In file included from /usr/include/pthread.hael/pval.cIn file included from :res_clioriginate.c44:: :In file included from 34535/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note:: 26: previous definition is here: In file included from #define pthread_mutex_unlock __libc_mutex_unlock/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/astobj2.h :: 21In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: dsp.cIn file included from ::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h2153:: : In file included from 23/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.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:::56655936:: 9:In file included from 9/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_timedwait' macro redefined [-Wmacro-redefined]warning [CC] app_disa.c -> app_disa.o :: 558'pthread_mutex_init' macro redefined [-Wmacro-redefined]: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait9 : ^#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^/usr/include/pthread.hwarning: : 370/usr/include/pthread.h::'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]9342:: 9 note:: previous definition is herenote : #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockprevious definition is here#define pthread_cond_timedwait __libc_cond_timedwait ^ ^ #define pthread_mutex_init __libc_mutex_init /usr/include/pthread.h ^: 344:In file included from 9res_clioriginate.c:: 35note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h : ^21 : In file included from In file included from dsp.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::5323: : 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::56036:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :559:9:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy warning ^: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :346:9:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init note ^: previous definition is here/usr/include/pthread.h :342#define pthread_mutex_destroy __libc_mutex_destroy: 9 ^: noteIn file included from : res_clioriginate.cprevious definition is here: 35: #define pthread_mutex_init __libc_mutex_initIn 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 dsp.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::5321: : 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/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::56123:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 560warning:: 9'pthread_cond_init' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 9 ^: /usr/include/pthread.hnote:: 346previous definition is here: 9: note#define pthread_cond_init __libc_cond_init: previous definition is here ^ In file included from res_clioriginate.c:#define pthread_mutex_destroy __libc_mutex_destroy35 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :dsp.c127:: 53In 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/frame.h21:: 36In 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/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::562561::99:: warningwarning: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^/usr/include/pthread.h :/usr/include/pthread.h371::3669::9 :note : noteprevious definition is here: previous definition is here #define pthread_cond_destroy __libc_cond_destroy #define pthread_cond_init __libc_cond_init ^ ^ In file included from res_clioriginate.cIn file included from :dsp.c35:: 53In file included from : /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/frame.h127:: 36In 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/linkedlists.h21:: 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::23562: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::563 :warning9: : '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 ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal/usr/include/pthread.h : ^371 :/usr/include/pthread.h9::367 :note9: :previous definition is here note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^#define pthread_cond_signal __libc_cond_signal ^ In file included from dsp.cIn file included from :res_clioriginate.c53:: 35In 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/channel.h36:: 127In 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 563/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.hwarning:: 564'pthread_cond_signal' macro redefined [-Wmacro-redefined] :9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 9 ^: /usr/include/pthread.hnote:: 368previous definition is here: 9: #define pthread_cond_signal __libc_cond_signalnote : ^previous definition is here In file included from dsp.c:53#define pthread_cond_broadcast __libc_cond_broadcast: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: 36: In file included from In file included from res_clioriginate.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3523: : 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::564127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : 'pthread_cond_broadcast' 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:565:9#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^warning : /usr/include/pthread.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 368:9: note: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_waitprevious definition is here ^ /usr/include/pthread.h:369:#define pthread_cond_broadcast __libc_cond_broadcast9 : ^ noteIn file included from : dsp.cprevious definition is here: 53: #define pthread_cond_wait __libc_cond_waitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ^: 36: In file included from In file included from res_clioriginate.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3523: : 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::565127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #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 : ^566 :/usr/include/pthread.h9::369 :warning9: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait#define pthread_cond_wait __libc_cond_wait ^ ^ /usr/include/pthread.h:In file included from 370dsp.c::953:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :previous definition is here36 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_cond_timedwait __libc_cond_timedwait/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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: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)])) ^~~~ 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:54In file included from : res_clioriginate.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h35:: 144In file included from : /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/config.h144:: 30In file included from : /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/utils.h30:: 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::750994: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h22::935 :warning10: :array subscript is of type 'char' [-Wchar-subscripts] warning hash = hash * 33 ^ tolower(*str++);: array subscript is of type 'char' [-Wchar-subscripts] ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: *pos = toupper(*pos);expanded from macro 'tolower' ~~~~~~~^~~~~~~~~~~~~~ #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))/usr/include/sys/ctype_inline.h : ^~~~60 : [CC] res_rtp_multicast.c -> res_rtp_multicast.o 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)])) ^~~~ 16 warnings generated. [CC] event.c -> event.o 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)) ^~~~ dsp.c:341:20: warning: unused function 'goertzel_update' [-Wunused-function] static inline void goertzel_update(goertzel_state_t *s, short *samps, int count) ^ 13 warnings generated. 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)) ^~~~ [CC] res_clialiases.c -> res_clialiases.o 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [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: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)])) ^~~~ 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init [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 ^ 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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)) ^~~~ 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)) ^~~~ 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)) ^~~~ 13 warnings generated. 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)) ^~~~ [CC] app_mp3.c -> app_mp3.o 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)) ^~~~ 13 warnings generated. [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so [CC] res_security_log.c -> res_security_log.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: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 ^~~~ 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' In file included from res_config_curl.c#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)): 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)])) ^~~~ [LD] res_timing_kqueue.o -> res_timing_kqueue.so 14 warnings generated. [LD] res_smdi.o -> res_smdi.so 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: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:343: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:345: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:344: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:342: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:346: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:366: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:371:9: note: previous definition is here #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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)) { ~~~~ ^ ~ 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) { ~~~~ ^ ~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_disa.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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_disa.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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_parkandannounce.c -> app_parkandannounce.o 15 warnings generated. [LD] res_convert.o -> res_convert.so 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)])) ^~~~ [CC] app_getcpeid.c -> app_getcpeid.o [CC] file.c -> file.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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)])) ^~~~ 14 warnings generated. [CC] app_readexten.c -> app_readexten.o 13 warnings generated. [CC] app_senddtmf.c -> app_senddtmf.o [LD] res_config_ldap.o -> res_config_ldap.so 26 warnings generated. [CC] fixedjitterbuf.c -> fixedjitterbuf.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 22 warnings generated. In file included from features.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 features.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_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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: [LD] res_realtime.o -> res_realtime.so 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:370: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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] frame.c -> frame.o 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)])) ^~~~ 13 warnings generated. [CC] app_while.c -> app_while.o 13 warnings generated. [CC] app_milliwatt.c -> app_milliwatt.o [LD] res_pktccops.o -> res_pktccops.so [CC] app_exec.c -> app_exec.o 13 warnings generated. [CC] app_readfile.c -> app_readfile.o 13 warnings generated. 16 warnings generated. [CC] framehook.c -> framehook.o 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:343: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from file.c:41: [CC] app_stack.c -> app_stack.o 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:344: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:342: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:346: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:366: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:371: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] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_getcpeid.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:343: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] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_getcpeid.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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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)])) ^~~~ [CC] app_confbridge.c -> app_confbridge.o 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)])) ^~~~ 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368: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:369: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:370: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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: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_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: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_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:343: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:345: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:344: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.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:342: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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370: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: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)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] app_userevent.c -> app_userevent.o [CC] fskmodem.c -> fskmodem.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hframe.c::12737: : 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::21144: : 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/config.h::2330: : /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.h562::7509: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :warning935: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]10 : warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note *pos = toupper(*pos);: previous definition is here ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_cond_destroy __libc_cond_destroy: 60 ^: 46:In file included from app_exec.cnote:: 37expanded from macro 'toupper': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))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.h52::2347: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note563: :expanded from macro 'AST_INLINE_API'9 : warning: # define AST_INLINE_API(hdr, body) inline hdr body'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^~~~ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367: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: [CC] app_sayunixtime.c -> app_sayunixtime.o /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 ^In file included from frame.c/usr/include/pthread.h::37368: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 144note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 pthread_cond_broadcast __libc_cond_broadcast: 750 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994In file included from :app_exec.c22::37 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.harray subscript is of type 'char' [-Wchar-subscripts]: 127: In file included from hash = hash * 33 ^ tolower(*str++);/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.h59::2346: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note565: :expanded from macro 'tolower'9 : warning: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^~~~ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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.h:21: In file included from /data/scratch/comms/asterisk18/work/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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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:345: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:344: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:342: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:346: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:366: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:371: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] 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:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal144 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/usr/include/pthread.h::30367: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 750note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hprevious definition is here: 935:10: warning: #define pthread_cond_signal __libc_cond_signalarray subscript is of type 'char' [-Wchar-subscripts] ^ 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 *pos = toupper(*pos);: In file included from ~~~~~~~^~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127/usr/include/sys/ctype_inline.h: :In file included from 60/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::4621:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :expanded from macro 'toupper'23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): ^warning : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :52:47: note#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: expanded from macro 'AST_INLINE_API' ^ /usr/include/pthread.h:368:# define AST_INLINE_API(hdr, body) inline hdr body9 : ^~~~ 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:369:9:In file included from app_exec.cnote:: 37previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144#define pthread_cond_wait __libc_cond_wait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :In file included from 30app_senddtmf.c: :In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from 750/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :In file included from 994/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::22127:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :array subscript is of type 'char' [-Wchar-subscripts]21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: hash = hash * 33 ^ tolower(*str++);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^~~~~~~~~~~~~~~566 :/usr/include/sys/ctype_inline.h9::59 :warning46: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] note: expanded from macro 'tolower' #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ^~~~/usr/include/pthread.h :370: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 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: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_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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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 [CC] global_datastores.c -> global_datastores.o :31: In file included from /data/scratch/comms/asterisk18/work/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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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] 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: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 framehook.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)])) ^~~~ 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 ^ 13 warnings generated. 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] hashtab.c -> hashtab.o 13 warnings generated. [CC] heap.c -> heap.o 13 warnings generated. 13 warnings generated. 13 warnings generated. [LD] res_adsi.o -> res_adsi.so 18 warnings generated. [CC] app_chanisavail.c -> app_chanisavail.o [CC] app_transfer.c -> app_transfer.o 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: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_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)])) ^~~~ [CC] http.c -> http.o 14 warnings generated. [LD] res_crypto.o -> res_crypto.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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)])) ^~~~ [CC] image.c -> image.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ [CC] app_dumpchan.c -> app_dumpchan.o 13 warnings generated. [LD] res_phoneprov.o -> res_phoneprov.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] indications.c -> indications.o 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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] app_test.c -> app_test.o 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. 13 warnings generated. [CC] app_nbscat.c -> app_nbscat.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:343: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:345: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:344: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:342: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:346: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 ^ [CC] io.c -> io.o /usr/include/pthread.h:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:343: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:345: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:344: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:342: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:346: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:366: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] 13 warnings generated. #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_timing_pthread.o -> res_timing_pthread.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [LD] res_jabber.o -> res_jabber.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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: noteIn file included from : image.cexpanded from macro 'tolower': 40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h ^~~~: 30: In file included from /data/scratch/comms/asterisk18/work/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: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)])) ^~~~ 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] 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] jitterbuf.c -> jitterbuf.o 13 warnings generated. [CC] loader.c -> loader.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] lock.c -> lock.o 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)])) ^~~~ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] logger.c -> logger.o [CC] app_sendtext.c -> app_sendtext.o [LD] res_speech.o -> res_speech.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: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)])) ^~~~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 13 warnings generated. 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)])) ^~~~ 13 warnings generated. 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) { ~~~~~~~~~~~~~~~ ^ ~ [CC] manager.c -> manager.o [LD] res_curl.o -> res_curl.so [CC] md5.c -> md5.o [CC] netsock.c -> netsock.o [LD] res_agi.o -> res_agi.so 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. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_mutestream.o -> res_mutestream.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: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 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [LD] res_monitor.o -> res_monitor.so 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:343: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:345: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:344: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:342: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: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:346: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:366: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:371:9: 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:367: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:368: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: [CC] app_image.c -> app_image.o 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_softhangup.c -> app_softhangup.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: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 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)])) ^~~~ 13 warnings generated. [CC] app_minivm.c -> app_minivm.o [CC] app_voicemail.c -> app_voicemail.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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 ^~~~ 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)])) ^~~~ 13 warnings generated. [CC] app_morsecode.c -> app_morsecode.o [LD] res_musiconhold.o -> res_musiconhold.so [CC] app_festival.c -> app_festival.o [CC] app_system.c -> app_system.o 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:343: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:345: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:344: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:342: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from netsock.c:In file included from 47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hmanager.c::3261: : /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.h561::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_cond_init' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #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 : ^556 :/usr/include/pthread.h9::366 :warning9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 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:371:9#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^note : previous definition is here/usr/include/pthread.h :343:9:#define pthread_cond_destroy __libc_cond_destroy note ^: previous definition is hereIn file included from netsock.c:47#define pthread_mutex_lock __libc_mutex_lock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 32manager.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h61:: 563In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 21: 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/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::367557::99:: notewarning: : previous definition is here'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock In file included from ^netsock.c :/usr/include/pthread.h47:: 345In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9::32 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here564 :9#define pthread_mutex_unlock __libc_mutex_unlock: ^warning : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from manager.c:61: #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/channel.h ^: 127/usr/include/pthread.h: :In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :previous definition is here23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558#define pthread_cond_broadcast __libc_cond_broadcast: 9 ^: warningIn file included from : netsock.c'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: #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 : ^565 :/usr/include/pthread.h9::344 :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 ^ /usr/include/pthread.h#define pthread_mutex_trylock __libc_mutex_trylock: 369 ^: 9:In file included from manager.cnote:: 61previous definition is here: In file included from #define pthread_cond_wait __libc_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h : ^127 : In file included from In file included from netsock.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::4721: : 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/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::566559::99:: warningwarning: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ ^ /usr/include/pthread.h/usr/include/pthread.h::370342::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_timedwait __libc_cond_timedwait#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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 16 warnings generated. 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: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 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_mixmonitor.c -> app_mixmonitor.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: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)])) ^~~~ [LD] res_stun_monitor.o -> res_stun_monitor.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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 ^ manager.c:1625:10: /usr/include/pthread.hwarning:: 343address of array 'user->username' will always evaluate to 'true' [-Wpointer-bool-conversion]: 9: note: previous definition is here (user->username ? user->username : "(N/A)"), ~~~~~~^~~~~~~~ ~ #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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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 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)])) ^~~~ 13 warnings generated. [CC] app_privacy.c -> app_privacy.o 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))) ^~~~ app_minivm.c:1563:9: warning: array subscript is of type 'char' [-Wchar-subscripts] manager.c:5742: if (!isdigit(*i)) {20 : ^~~~~~~~~~~ warning/usr/include/sys/ctype_inline.h: :array subscript is of type 'char' [-Wchar-subscripts]51 :44: *dst++ = mode ? tolower(*src) : *src; ^~~~~~~~~~~~~note : /usr/include/sys/ctype_inline.hexpanded from macro 'isdigit': 59:46:#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) note ^~~~: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_minivm.c:1822:18: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) {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.happ_minivm.c::5561834::917:: warningwarning: : 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343: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:345: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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_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)])) ^~~~ [LD] app_waituntil.o -> app_waituntil.so 13 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [LD] res_calendar.o -> res_calendar.so [LD] app_sms.o -> app_sms.so 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)])) ^~~~ 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:343: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:345:9: note: previous definition is here 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:343: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:345: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:344: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:342: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:346: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:#define pthread_mutex_unlock __libc_mutex_unlock26 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:In file included from 127app_festival.c: :In file included from 48/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :In 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: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:366::219: :In file included from /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:558:9#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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:344: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from 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:343: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:345: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:344: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:342: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:346: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:366:9: note: previous definition is here In file included from app_image.c:#define pthread_cond_init __libc_cond_init36 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hIn file included from :app_mixmonitor.c26:: 46In file included from : /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/audiohook.h127:: 31In 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::21562: :app_festival.cIn file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23:warning48: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_destroy' macro redefined [-Wmacro-redefined]:: 556In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockprevious definition is here ^ #define pthread_cond_destroy __libc_cond_destroy ^/usr/include/pthread.h :In file included from 343app_mixmonitor.c::946:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h: :previous definition is here31 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9#define pthread_mutex_lock __libc_mutex_lock: ^warning : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from app_image.c:36#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/pbx.h 127/usr/include/pthread.h::26367: :In file included from 9/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_cond_signal __libc_cond_signalIn 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_mixmonitor.c::55746:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h :warning31: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564:9:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock warning ^: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :345:9#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^note : /usr/include/pthread.hprevious definition is here: 368:9: #define pthread_mutex_unlock __libc_mutex_unlocknote : ^previous definition is here In file included from app_image.c:36#define pthread_cond_broadcast __libc_cond_broadcast: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h :In file included from 26app_mixmonitor.c: :In file included from 46/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/audiohook.h: :In file included from 31/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:: 565In 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_wait' macro redefined [-Wmacro-redefined]558 :9: warning: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock369 : ^9 :/usr/include/pthread.h :note344: :previous definition is here9 : note: previous definition is here#define pthread_cond_wait __libc_cond_wait ^ #define pthread_mutex_trylock __libc_mutex_trylockIn file included from app_mixmonitor.c ^: 46: In file included from In file included from app_image.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h13: warning31s:: 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h generated. : :In file included from 566/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::9: 26warning: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_timedwait' 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_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :/usr/include/pthread.h23:: 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9559:: 9note:: previous definition is herewarning : 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342: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:346: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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :In file included from 26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :In 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.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.h::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h warning:: 561'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^/usr/include/pthread.h :346:/usr/include/pthread.h9::366 :note: 9previous definition is here: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ #define pthread_cond_init __libc_cond_init ^ In file included from app_festival.cIn file included from :app_image.c48:: 36In file included from : /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/pbx.h:12726: : 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 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: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::56123:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 562warning:: 9'pthread_cond_init' macro redefined [-Wmacro-redefined]: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy:366 : ^ 9: note: /usr/include/pthread.hprevious definition is here: 371:9:#define pthread_cond_init __libc_cond_init note ^: previous definition is here 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#define pthread_cond_destroy __libc_cond_destroy: 127 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :app_image.c21:: 36In 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/pbx.h::2326: : /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::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning: :21'pthread_cond_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:563:9: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroywarning : ^'pthread_cond_signal' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367#define pthread_cond_destroy __libc_cond_destroy: 9 ^: noteIn file included from : app_festival.cprevious definition is here :48: 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.happ_image.c::2336: : /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/pbx.h563::269: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127warning: : In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/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:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal9 : ^ warning/usr/include/pthread.h: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] 367:9: note: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ #define pthread_cond_signal __libc_cond_signal/usr/include/pthread.h : ^368 :9In file included from :app_festival.c: 48note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :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_cond_broadcast __libc_cond_broadcast/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_image.c::36564: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26warning: : In file included from 'pthread_cond_broadcast' 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:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 9 ^ :/usr/include/pthread.h :warning368:: 9'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_broadcast __libc_cond_broadcast /usr/include/pthread.h: ^369 :9In file included from :app_festival.c :note48: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_wait __libc_cond_wait21 : In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23In file included from : app_image.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::56536:9: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:warning26: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_wait23 : ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::566369:9::9 :note : warningprevious definition is here : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait ^ In file included from app_festival.c:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait 48 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::370127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: 21note: : 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:566:9:#define pthread_cond_timedwait __libc_cond_timedwait 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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] netsock2.c -> netsock2.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: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_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_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_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: In file included from warningapp_festival.c: :array subscript is of type 'char' [-Wchar-subscripts]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: *pos = toupper(*pos);In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ~~~~~~~^~~~~~~~~~~~~~: 750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:/usr/include/sys/ctype_inline.h994::6022::46 :warning : notearray subscript is of type 'char' [-Wchar-subscripts]: expanded from macro 'toupper' hash = hash * 33 ^ tolower(*str++); #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~~~~~~~~~~~~ ^/usr/include/sys/ctype_inline.h :59/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::4652: :note47: :expanded from macro 'tolower' note: expanded from macro 'AST_INLINE_API' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ # 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 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367:9: note: previous definition is here app_voicemail.c:#define pthread_cond_signal __libc_cond_signal8221 : ^26 : In file included from warningapp_privacy.c: :equality comparison with extraneous parentheses [-Wparentheses-equality]36 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9 if ((vms->newmessages == 1)) {: ~~~~~~~~~~~~~~~~~^~~~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:368: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: warningapp_voicemail.c: :'pthread_cond_wait' macro redefined [-Wmacro-redefined]8221 :26: note: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_waitremove extraneous parentheses around the comparison to silence this warning ^ if ((vms->newmessages == 1)) {/usr/include/pthread.h : ~ ^ ~369 :9: note: previous definition is here app_voicemail.c:8221:#define pthread_cond_wait __libc_cond_wait26 : ^ note: In file included from use '=' to turn this equality comparison into an assignmentapp_privacy.c :36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: if ((vms->newmessages == 1)) {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:370:9: note: app_voicemail.cprevious definition is here: 8235:25: warning#define pthread_cond_timedwait __libc_cond_timedwait: 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] 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)) { ^~ = 13 warnings generated. 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:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8824:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8824:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8871:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8871:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8871:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8914:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8914:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8914:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8980:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8980:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8980:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8990:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8990:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8990:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:9001:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->oldmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:9001:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->oldmessages == 1)) ~ ^ ~ app_voicemail.c:9001:27: note: 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)) ^~ = 13 warnings generated. 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] 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)) ^~~~ *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)])) ^~~~ [LD] app_alarmreceiver.o -> app_alarmreceiver.so [LD] app_externalivr.o -> app_externalivr.so [LD] res_fax.o -> res_fax.so [CC] pbx.c -> pbx.o 13 warnings generated. 13 warnings generated. [CC] plc.c -> plc.o 14 warnings generated. [CC] poll.c -> poll.o [CC] privacy.c -> privacy.o 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:343: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:345: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:344: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:342: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:346: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] [LD] res_limit.o -> res_limit.so #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ [LD] app_dictate.o -> app_dictate.so [CC] rtp_engine.c -> rtp_engine.o 13 warnings generated. [CC] say.c -> say.o [LD] app_macro.o -> app_macro.so 13 warnings generated. 13 warnings generated. [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so [LD] app_cdr.o -> app_cdr.so [LD] res_clioriginate.o -> res_clioriginate.so [LD] app_talkdetect.o -> app_talkdetect.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from pbx.c:46: /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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx.c:46: /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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx.c:46: /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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx.c:46: /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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx.c:46: /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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx.c:46: /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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx.c:46: /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:371: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:367: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:368: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:369: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:370: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: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)])) ^~~~ 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] sched.c -> sched.o [LD] res_config_curl.o -> res_config_curl.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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)])) ^~~~ [LD] app_directed_pickup.o -> app_directed_pickup.so [LD] res_rtp_multicast.o -> res_rtp_multicast.so [CC] security_events.c -> security_events.o [LD] app_db.o -> app_db.so 13 warnings generated. [LD] res_clialiases.o -> res_clialiases.so 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: 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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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)) ^~~~ [LD] app_waitforring.o -> app_waitforring.so 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)])) ^~~~ [LD] app_amd.o -> app_amd.so 13 warnings generated. [CC] sha1.c -> sha1.o [LD] res_security_log.o -> res_security_log.so 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: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:343:9: note: 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_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_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: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:346:9: note: previous definition is here #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:366: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: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ 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: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ 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: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] slinfactory.c -> slinfactory.o 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)])) ^~~~ [CC] srv.c -> srv.o [LD] app_forkcdr.o -> app_forkcdr.so [CC] ssl.c -> ssl.o [CC] stdtime/localtime.c -> stdtime/localtime.o 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:343: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:345: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:344: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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] strcompat.c -> strcompat.o 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)])) ^~~~ [CC] strings.c -> strings.o [LD] app_read.o -> app_read.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 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) { ~~~~~~~~~~~~~~~ ^ ~ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:343: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:345: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ [CC] stun.c -> stun.o 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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ 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: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ 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: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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; ^ ~~~~~~~~~ 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:13144 warning: sIn file included from generated. /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/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 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 strings.c:42: /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:2194:29: warning: unused function 'find_by_locale' [-Wunused-function] static struct locale_entry *find_by_locale(locale_t locale) ^ 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:343: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:345: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:344:9: 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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] app_adsiprog.o -> app_adsiprog.so 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:343: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ 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: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ 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: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ 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: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy In file included from ^ssl.c :41In file included from : strcompat.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h38:: 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::32935: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h10::563 :warning: 9array subscript is of type 'char' [-Wchar-subscripts]: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h/usr/include/sys/ctype_inline.h::36760::946:: notenote: : previous definition is hereexpanded from macro 'toupper' #define pthread_cond_signal __libc_cond_signal#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.hstrcompat.c::5238:: 47In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note32: : expanded from macro 'AST_INLINE_API'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564:9: # define AST_INLINE_API(hdr, body) inline hdr bodywarning : ^~~~'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ 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: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:369:9: note: In file included from previous definition is heressl.c :41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_wait __libc_cond_wait750 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :In file included from 994strcompat.c::2238:: In file included from warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.harray subscript is of type 'char' [-Wchar-subscripts] :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566 hash = hash * 33 ^ tolower(*str++);: 9 ^~~~~~~~~~~~~~~: /usr/include/sys/ctype_inline.hwarning:: 59'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 46: note: expanded from macro 'tolower' #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): 370 ^~~~: 9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 15 warnings generated. 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)])) ^~~~ [LD] app_waitforsilence.o -> app_waitforsilence.so 11 warnings generated. 13 warnings generated. [LD] app_controlplayback.o -> app_controlplayback.so 13 warnings generated. [CC] syslog.c -> syslog.o [CC] taskprocessor.c -> taskprocessor.o [CC] tcptls.c -> tcptls.o 13 warnings generated. [LD] app_url.o -> app_url.so [LD] app_originate.o -> app_originate.so 13 warnings generated. [CC] tdd.c -> tdd.o 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ 23 warnings generated. [CC] term.c -> term.o [CC] test.c -> test.o [LD] app_authenticate.o -> app_authenticate.so [CC] threadstorage.c -> threadstorage.o [LD] app_playtones.o -> app_playtones.so 13 warnings generated. [LD] app_setcallerid.o -> app_setcallerid.so [LD] app_celgenuserevent.o -> app_celgenuserevent.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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:343: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:345: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:344: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:342: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:346: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from taskprocessor.c:35In file included from : syslog.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h30:: 31In 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/utils.h750:: 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h935::56210::9 :warning : warningarray subscript is of type 'char' [-Wchar-subscripts]: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here *pos = toupper(*pos);#define pthread_cond_destroy __libc_cond_destroy ~~~~~~~^~~~~~~~~~~~~~ ^ In file included from /usr/include/sys/ctype_inline.htaskprocessor.c::6035:: 46In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :note31: : expanded from macro 'toupper'In file included from /data/scratch/comms/asterisk18/work/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 toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 563 ^: 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :warning52: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]47 : note: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalexpanded from macro 'AST_INLINE_API' ^ /usr/include/pthread.h# define AST_INLINE_API(hdr, body) inline hdr body: 367 ^~~~: 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:368:9In file included from :syslog.c :note30: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_broadcast __libc_cond_broadcast750 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :In file included from 994taskprocessor.c::2235:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :array 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:32 hash = hash * 33 ^ tolower(*str++); : ^~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/sys/ctype_inline.h565::599::46 :warning : note'pthread_cond_wait' macro redefined [-Wmacro-redefined]: expanded from macro 'tolower' #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ^~~~ /usr/include/pthread.h:369: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:370: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] timing.c -> timing.o 13 warnings generated. [LD] app_queue.o -> app_queue.so 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)])) ^~~~ 15 warnings generated. 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] translate.c -> translate.o 13 warnings generated. [LD] app_record.o -> app_record.so [LD] app_dial.o -> app_dial.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] app_speech_utils.o -> app_speech_utils.so 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)])) ^~~~ [LD] app_channelredirect.o -> app_channelredirect.so 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)])) ^~~~ [CC] udptl.c -> udptl.o 13 warnings generated. [CC] ulaw.c -> ulaw.o [CC] utils.c -> utils.o [LD] app_ices.o -> app_ices.so [CC] version.c -> version.o 13 warnings generated. [CC] xml.c -> xml.o [LD] app_chanspy.o -> app_chanspy.so [LD] app_echo.o -> app_echo.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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ [CC] xmldoc.c -> xmldoc.o [LD] app_zapateller.o -> app_zapateller.so 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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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: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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370: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)])) ^~~~ creating cache ./config.cache checking for gcc... clang checking whether the C compiler (clang -pthread -I../..//include -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fnested-functions -g3 -pthread -I/usr/pkg/include -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib ) works... 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)])) ^~~~ 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_followme.o -> app_followme.so 13 warnings generated. [CC] hash/hash.c -> hash/hash.o [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o [LD] app_verbose.o -> app_verbose.so 13 warnings generated. In file included from utils.c [LD] app_playback.o -> app_playback.so :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:343: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:345: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:344: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:342: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:346: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:366: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:371: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:367: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:368: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:369: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from xmldoc.c:36: In file included from /data/scratch/comms/asterisk18/work/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:370:9: note: previous definition is here [CC] hash/hash_buf.c -> hash/hash_buf.o #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] hash/hash_func.c -> hash/hash_func.o In file included from xmldoc.c:37: /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 xmldoc.c:37: /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 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 ^~~~ 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)])) ^~~~ [CC] hash/hash_log2.c -> hash/hash_log2.o 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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] hash/hash_page.c -> hash/hash_page.o 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 make[1]: *** Waiting for unfinished jobs.... [CC] hash/ndbm.c -> hash/ndbm.o yes checking whether the C compiler (clang -pthread -I../..//include -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fnested-functions -g3 -pthread -I/usr/pkg/include -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C... 1 warning generated. [LD] app_directory.o -> app_directory.so 16 warnings generated. [LD] app_disa.o -> app_disa.so 13 warnings generated. [LD] app_mp3.o -> app_mp3.so 16 warnings generated. [CC] btree/bt_close.c -> btree/bt_close.o [LD] app_parkandannounce.o -> app_parkandannounce.so yes checking whether clang accepts -g... [CC] btree/bt_conv.c -> btree/bt_conv.o [LD] app_getcpeid.o -> app_getcpeid.so [CC] btree/bt_debug.c -> btree/bt_debug.o [LD] app_readexten.o -> app_readexten.so [CC] btree/bt_delete.c -> btree/bt_delete.o [LD] app_senddtmf.o -> app_senddtmf.so [CC] btree/bt_get.c -> btree/bt_get.o 31 warnings generated. [CC] btree/bt_open.c -> btree/bt_open.o [LD] app_while.o -> app_while.so 13 warnings generated. [CC] btree/bt_overflow.c -> btree/bt_overflow.o [CC] btree/bt_page.c -> btree/bt_page.o [CC] btree/bt_put.c -> btree/bt_put.o [LD] app_milliwatt.o -> app_milliwatt.so [CC] btree/bt_search.c -> btree/bt_search.o [CC] btree/bt_seq.c -> btree/bt_seq.o yes checking how to run the C preprocessor... clang-cpp checking for mawk... /usr/bin/awk checking host system type... [LD] app_exec.o -> app_exec.so x86_64--netbsd checking ABI... [CC] btree/bt_split.c -> btree/bt_split.o [CC] btree/bt_utils.c -> btree/bt_utils.o [CC] db/db.c -> db/db.o [LD] app_readfile.o -> app_readfile.so [LD] app_stack.o -> app_stack.so [CC] mpool/mpool.c -> mpool/mpool.o [LD] app_confbridge.o -> app_confbridge.so [CC] recno/rec_close.c -> recno/rec_close.o [CC] recno/rec_delete.c -> recno/rec_delete.o [CC] recno/rec_get.c -> recno/rec_get.o elf checking for a BSD compatible install... /usr/bin/install -c -o pbulkXXX -g users checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... [CC] recno/rec_open.c -> recno/rec_open.o 14 warnings generated. [CC] recno/rec_put.c -> recno/rec_put.o [LD] app_userevent.o -> app_userevent.so [LD] app_sayunixtime.o -> app_sayunixtime.so [LD] app_chanisavail.o -> app_chanisavail.so [CC] recno/rec_search.c -> recno/rec_search.o [LD] app_transfer.o -> app_transfer.so [LD] app_dumpchan.o -> app_dumpchan.so [CC] recno/rec_seq.c -> recno/rec_seq.o [LD] app_test.o -> app_test.so In file included from mpool/mpool.c: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:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from mpool/mpool.c: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:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from mpool/mpool.c: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:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from mpool/mpool.c: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:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from mpool/mpool.c: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:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from mpool/mpool.c: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:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from mpool/mpool.c: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:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from mpool/mpool.c: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:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from mpool/mpool.c: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:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from mpool/mpool.c: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:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from mpool/mpool.c: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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from mpool/mpool.c: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 mpool/mpool.c: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. [CC] recno/rec_utils.c -> recno/rec_utils.o [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 yes [LD] app_minivm.o -> app_minivm.so 13 warnings generated. [LD] app_voicemail.o -> app_voicemail.so [LD] app_morsecode.o -> app_morsecode.so [LD] app_festival.o -> app_festival.so [LD] app_system.o -> app_system.so checking for termcap.h... [LD] app_mixmonitor.o -> app_mixmonitor.so [LD] app_privacy.o -> app_privacy.so yes checking for sys/cdefs.h... [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a yes checking for vis.h... yes checking for issetugid... yes checking for fgetln... yes checking for strvis... yes checking for strunvis... yes checking for strlcpy... yes checking for strlcat... yes updating cache ./config.cache creating ./config.status creating Makefile creating makelist creating config.h In file included from editline.c:5: ./emacs.c:297:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = toupper(*cp); ^~~~~~~~~~~~ /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 editline.c:5: ./emacs.c:322:11: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = toupper(*cp); ^~~~~~~~~~~~ /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 editline.c:5: ./emacs.c:329:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = tolower(*cp); ^~~~~~~~~~~~ /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 editline.c:5: ./emacs.c:353:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = tolower(*cp); ^~~~~~~~~~~~ /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 editline.c:8: ./el.c:173:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~HANDLE_SIGNALS; ~^~~~~~~~~~~~~~ ./el.h:58:25: note: expanded from macro 'HANDLE_SIGNALS' #define HANDLE_SIGNALS 1<<0 ^ In file included from editline.c:8: ./el.c:244:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~EDIT_DISABLED; ~^~~~~~~~~~~~~ ./el.h:60:24: note: expanded from macro 'EDIT_DISABLED' #define EDIT_DISABLED 1<<2 ^ In file included from editline.c:8: ./el.c:501:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~EDIT_DISABLED; ~^~~~~~~~~~~~~ ./el.h:60:24: note: expanded from macro 'EDIT_DISABLED' #define EDIT_DISABLED 1<<2 ^ 7 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