=> 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 cdr [CC] eagi-test.c -> eagi-test.o [CC] pbx_config.c -> pbx_config.o [CC] astcanary.c -> astcanary.o [CC] chan_iax2.c -> chan_iax2.o [CC] format_sln16.c -> format_sln16.o [CC] cdr_manager.c -> cdr_manager.o [CC] res_timing_kqueue.c -> res_timing_kqueue.o [CC] bridge_builtin_features.c -> bridge_builtin_features.o [CC] cel_manager.c -> cel_manager.o [CC] abstract_jb.c -> abstract_jb.o [CC] f2clib.c -> f2clib.o [CC] func_global.c -> func_global.o [CC] anaFilter.c -> anaFilter.o cel [CC] cdr_custom.c -> cdr_custom.o [CC] app_waituntil.c -> app_waituntil.o bridges funcs tests 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 ^ main 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:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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_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: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cel_manager.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from pbx_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h: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] #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_sln16.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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 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 pbx_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:In file included from 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.happ_waituntil.c::2137: : 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/channel.h::23127: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h559::219: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_mutex_init' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' 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 #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ ^ In file included from cdr_manager.c:38: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::343:1279: :In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21previous definition is here: res_timing_kqueue.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :3823: : #define pthread_mutex_lock __libc_mutex_lock/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/module.h560: 31 ^: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9:In file included from 32:app_waituntil.c : :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h37warning: In file included from In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 556'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 9:chan_iax2.c127::63 : : warning#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ::/usr/include/pthread.h21144: : 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.h346::#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock:30923 : :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^ : :In file included from 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:note :9: 750previous definition is here: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h /usr/include/pthread.hwarning: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]#define pthread_mutex_destroy __libc_mutex_destroy935 : ^343 ::9In file included from 10:cdr_manager.c :#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock:note38 : : warningprevious definition is here: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.harray subscript is of type 'char' [-Wchar-subscripts]: #define pthread_mutex_lock __libc_mutex_lock/usr/include/pthread.h127: 345 ^:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note21In file included from : : res_timing_kqueue.cprevious definition is here:In file included from 38 *pos = toupper(*pos);/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/lock.h :#define pthread_mutex_unlock __libc_mutex_unlock561 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h ^9 :/usr/include/sys/ctype_inline.h:: 31In file included from 60warningapp_waituntil.c::4637: : : 'pthread_cond_init' macro redefined [-Wmacro-redefined]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:: 32note: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initexpanded from macro 'toupper': 21 ^:: 557In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/usr/include/pthread.h9:: 366 ^: 239/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h: :::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h52: 558:: 9notewarning:47: :previous definition is here : warning'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: note 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]#define pthread_cond_init __libc_cond_init : expanded from macro 'AST_INLINE_API' ^ #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockIn file included from #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^# define AST_INLINE_API(hdr, body) inline hdr bodycdr_manager.c /usr/include/pthread.h: 38 ^~~~: ^345 : In file included from :/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:9344:: :9127:note: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hprevious definition is here: note21: : 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/linkedlists.h : ^#define pthread_mutex_trylock __libc_mutex_trylock 23In file included from : res_timing_kqueue.c ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h38In file included from : :In file included from app_waituntil.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:562::319: :In file included from 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h32: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :chan_iax2.c558:127:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy963:: In file included from : warningIn 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.h21:: 144In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: In file included from 23/usr/include/pthread.h: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h30371:: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9559::: 750note: : 9previous definition is here:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h warningIn file included from : : ^'pthread_mutex_init' macro redefined [-Wmacro-redefined]#define pthread_cond_destroy __libc_cond_destroy 994 ^/usr/include/pthread.hformat_sln16.c:: :3443522In file included from :cdr_manager.c#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init:: 938:: : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::warning:note342127: : :array subscript is of type 'char' [-Wchar-subscripts]319: previous definition is here :: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnoteIn file included from :: #define pthread_mutex_trylock __libc_mutex_trylock21previous definition is here : hash = hash * 33 ^ tolower(*str++);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 ^: 750 ^~~~~~~~~~~~~~~: In file included from :res_timing_kqueue.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_mutex_init __libc_mutex_init :23 38/usr/include/sys/ctype_inline.h: : : ^:935In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h 1056359::3146::: : In file included from noteapp_waituntil.c9warning:: : array subscript is of type 'char' [-Wchar-subscripts]expanded from macro 'tolower' :In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :3732: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: : *pos = toupper(*pos);127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ~~~~~~~^~~~~~~~~~~~~~#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])):In file included from #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal559/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: ^/usr/include/sys/ctype_inline.h ^~~~:9 :/usr/include/pthread.h::6021:: 46367:In file included from warning:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote:: 923'pthread_mutex_init' macro redefined [-Wmacro-redefined]: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: expanded from macro 'toupper'560note:: previous definition is here9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init : ^warning: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/usr/include/pthread.h#define pthread_cond_signal __libc_cond_signal :In file included from ^ 342'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] abstract_jb.c: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :952:In file included from :: cdr_manager.c4740note:: 38#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroyIn file included from : :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :In file included from 36note ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: : 127In file included from /usr/include/pthread.h: :previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from expanded from macro 'AST_INLINE_API' 346::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9:2321: #define pthread_mutex_init __libc_mutex_init# 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/lock.h /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote: ^556::: 239previous definition is here: : In file included from warningres_timing_kqueue.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]:#define pthread_mutex_destroy __libc_mutex_destroy 38564: ^In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :931In file included from : :app_waituntil.c In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: ::'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]37 32: : In file included from #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^:: 560127:: 9#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/astobj2.h ^:: /usr/include/pthread.h 21warning:: 343/usr/include/pthread.h:: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]9In file included from :368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : 9note::: 23note: previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 561#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: In file included from ^format_sln16.c #define pthread_mutex_lock __libc_mutex_lock/usr/include/pthread.h : ^35: #define pthread_cond_broadcast __libc_cond_broadcast9346In file included from :abstract_jb.c9 :: : ^:40 : In file included from warningnote: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: In file included from 'pthread_cond_init' macro redefined [-Wmacro-redefined]previous definition is hereIn file included from cdr_manager.c::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h31:38: : In file included from In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h127: : :In file included from 750/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: #define pthread_mutex_destroy __libc_mutex_destroy23366 : :: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h 921:: :994/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :noteIn file included from 557:In file included from : :res_timing_kqueue.c9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h2238:: previous definition is here: 23 warningwarning: : : In file included from : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.harray subscript is of type 'char' [-Wchar-subscripts]: : 56531#define pthread_cond_init __libc_cond_init: 9 ^: :In file included from #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/utils.h hash = hash * 33 ^ tolower(*str++);In file included from ^app_waituntil.c ^~~~~~~~~~~~~~~: 32 : :/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h37warning: :/usr/include/sys/ctype_inline.hIn file included from : 345'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 59:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:::127 : 46In file included from note:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: previous definition is here :note21 ^: 561 : :expanded from macro 'tolower'9In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/usr/include/pthread.h :warning:36923:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))#define pthread_mutex_unlock __libc_mutex_unlock : ^~~~9 ^'pthread_cond_init' macro redefined [-Wmacro-redefined]: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :abstract_jb.cnote:562: :409previous definition is here: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init : In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: ^'pthread_cond_destroy' macro redefined [-Wmacro-redefined]:#define pthread_cond_wait __libc_cond_wait36 ^/usr/include/pthread.h: : 366In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hcdr_manager.c:::#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy3823 : : 9 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h:In file included from 558::note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 3719:previous definition is here: 127:warning9: : In file included from :#define pthread_cond_init __libc_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] ^ : 21note: In file included from In file included from : res_timing_kqueue.cprevious definition is here:#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 ^38 :/usr/include/pthread.h: :23In file included from : #define pthread_cond_destroy __libc_cond_destroy344/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 9 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h 566In file included from :note:: 31previous definition is hereapp_waituntil.c: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :warning37: 32#define pthread_mutex_trylock __libc_mutex_trylock'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ^: : 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:In file included from :127562#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitabstract_jb.c: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: ::warning40 ^: 21: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/usr/include/pthread.h::'pthread_cond_destroy' macro redefined [-Wmacro-redefined]37036:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from 9: /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: note/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_destroyprevious definition is here 559 ^ :: 9563:/usr/include/pthread.h :warning:#define pthread_cond_timedwait __libc_cond_timedwait9: : ^'pthread_mutex_init' macro redefined [-Wmacro-redefined] 371 warning:: 9'pthread_cond_signal' macro redefined [-Wmacro-redefined]: note: previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal#define pthread_cond_destroy __libc_cond_destroy342 : ^ 9 ^: /usr/include/pthread.hnote : :previous definition is hereIn file included from res_timing_kqueue.c367::389: : In file included from note#define pthread_mutex_init __libc_mutex_init: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h : ^31previous definition is here : In file included from In file included from abstract_jb.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::40#define pthread_cond_signal __libc_cond_signal32 : : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::56336In file included from :: 9app_waituntil.c:In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h37warning: :: In file included from 23'pthread_cond_signal' macro redefined [-Wmacro-redefined]/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: : 560In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:921:: In file included from #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalwarning/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 :/usr/include/pthread.h564::3679::9 :#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroywarning ^note: : /usr/include/pthread.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]:previous definition is here346 : 9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^#define pthread_mutex_destroy __libc_mutex_destroy In file included from res_timing_kqueue.c/usr/include/pthread.h::38368 ^: In file included from :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :abstract_jb.c::31 : 40In file included from note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :previous definition is here32In 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/lock.h::36564: :In file included from #define pthread_cond_broadcast __libc_cond_broadcast9 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h warning:: 23In file included from : app_waituntil.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]56137 : :In file included from 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :warning127: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^21: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23368: :#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.h9: 565: ^ : note/usr/include/pthread.h: :previous definition is here3669: :9 :warning : note'pthread_cond_wait' macro redefined [-Wmacro-redefined] : #define pthread_cond_broadcast __libc_cond_broadcastprevious definition is here ^ In file included from res_timing_kqueue.c#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: #define pthread_cond_init __libc_cond_init38 ^ ^ : /usr/include/pthread.hIn file included from : 369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::In file included from 931:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.habstract_jb.c: ::3240previous definition is here: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h565::369: :In file included from #define pthread_cond_wait __libc_cond_waitwarning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from app_waituntil.c::37562: :In file included from 9#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/channel.h :warning: 127 ^'pthread_cond_destroy' macro redefined [-Wmacro-redefined] /usr/include/pthread.h: :In file included from 369:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::21 : In file included from note#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/linkedlists.h :: ^23previous definition is here /usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h371::5669#define pthread_cond_wait __libc_cond_wait:: 9note: ^: previous definition is here warning : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] 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#define pthread_cond_destroy __libc_cond_destroy: 31 ^: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: In file included from ^32 : abstract_jb.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h:::37056640::: 99::In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hwarning:note36: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 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:563:9: #define pthread_cond_timedwait __libc_cond_timedwait warning ^: 'pthread_cond_signal' 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_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:#define pthread_cond_timedwait __libc_cond_timedwait367 : ^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 ^ 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] analys.c -> analys.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: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.h:564:9: warning: '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_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:565:9: warning: '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_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 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:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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_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)])) ^~~~ [LD] astcanary.o -> astcanary 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)])) ^~~~ 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)])) ^~~~ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ chan_iax2.c:2767:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] return abs(ast_random()); ^ chan_iax2.c:2767:9: note: use function 'labs' instead return abs(ast_random()); ^~~ labs 13 warnings generated. [CC] bridge_simple.c -> bridge_simple.o 13 warnings generated. [CC] cel_custom.c -> cel_custom.o 13 warnings generated. chan_iax2.c:5985:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(ms - pred) < MAX_TIMESTAMP_SKEW) ^ chan_iax2.c:5985:6: note: use function 'labs' instead if (abs(ms - pred) < MAX_TIMESTAMP_SKEW) ^~~ labs chan_iax2.c:6057:26: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) { ^ chan_iax2.c:6057:26: note: remove the call to 'abs' since unsigned values cannot be negative if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) { ^~~ chan_iax2.c:6098:21: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW ) ^ chan_iax2.c:6098:21: note: remove the call to 'abs' since unsigned values cannot be negative if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW ) ^~~ chan_iax2.c:6100:7: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW); ^ chan_iax2.c:6100:7: note: remove the call to 'abs' since unsigned values cannot be negative abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ chan_iax2.c:6130:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) { ^ chan_iax2.c:6130:15: note: remove the call to 'abs' since unsigned values cannot be negative } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) { ^~~ [CC] constants.c -> constants.o 13 warnings generated. [CC] format_g729.c -> format_g729.o [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o res [CC] bridge_softmix.c -> bridge_softmix.o 13 warnings generated. 13 warnings generated. [CC] app_sms.c -> app_sms.o [CC] res_smdi.c -> res_smdi.o 13 warnings generated. [CC] cdr_csv.c -> cdr_csv.o addons 13 warnings generated. [CC] func_aes.c -> func_aes.o 13 warnings generated. chan_iax2.c:1805:33: warning: unused function 'user_ref' [-Wunused-function] static inline struct iax2_user *user_ref(struct iax2_user *user) ^ [CC] acl.c -> acl.o [CC] src/add.c -> src/add.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:In file included from note: previous definition is here cel_custom.c:41#define pthread_mutex_trylock __libc_mutex_trylock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127In file included from : bridge_simple.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h42:: 21In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h31:: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::32556: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::559 :warning9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock bridge_simple.c ^: 42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h343::329: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note560: :previous definition is here9 : warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ In file included from #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroycel_custom.c : ^41 : In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::346127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note21: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/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:#define pthread_mutex_destroy __libc_mutex_destroy9 : ^ warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]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#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 ^ :/usr/include/pthread.h561::3459::9 :warning : note'pthread_cond_init' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^ In file included from /usr/include/pthread.hcel_custom.c::36641:: 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_init __libc_cond_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.hbridge_simple.c::55842:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :warning31: : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock9 : ^ warning/usr/include/pthread.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]344 :9: note: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy [CC] createCB.c -> createCB.o #define pthread_mutex_trylock __libc_mutex_trylock ^ ^ /usr/include/pthread.h:In file included from 371cel_custom.c::941:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :previous definition is here127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: #define pthread_cond_destroy __libc_cond_destroyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hbridge_simple.c::55942:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :warning31: : In file included from 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/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:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^warning : /usr/include/pthread.h'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 342: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_mutex_init __libc_mutex_init: 9 ^: note: previous definition is hereIn 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#define pthread_cond_signal __libc_cond_signal: 127 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :bridge_simple.c21:: 42In 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/module.h23:: 31/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/utils.h::932:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 564'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346#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_destroy __libc_mutex_destroy ^ In file included from cel_custom.c:#define pthread_cond_broadcast __libc_cond_broadcast41 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127In file included from : bridge_simple.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h42:: 21In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h31:: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::32561: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::565 :warning9: :'pthread_cond_init' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 366 ^: 9/usr/include/pthread.h:: 369note:: 9previous definition is here: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ #define pthread_cond_wait __libc_cond_wait In file included from ^cel_custom.c :41: In file included from In file included from bridge_simple.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::42127: : 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/astobj2.h::2131: : 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/utils.h::2332: : /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::562566::99:: warningwarning: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ ^ /usr/include/pthread.h/usr/include/pthread.h::371370::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_destroy __libc_cond_destroy #define pthread_cond_timedwait __libc_cond_timedwait ^ ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 ^ 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:556:9: warning: '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_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #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_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/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_g729.cIn file included from :bridge_simple.c37:: 42In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: 28In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h31:: 36In 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/linkedlists.h750:23: : /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::935563::109:: warningwarning: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined] array subscript is of type 'char' [-Wchar-subscripts] #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 *pos = toupper(*pos); ^ ~~~~~~~^~~~~~~~~~~~~~ In file included from format_g729.c:37: /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h60::2846: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hnote:: 36expanded from macro 'toupper': In file included from /data/scratch/comms/asterisk18/work/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 toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))564 : ^9 : warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 52:47: note: expanded from macro 'AST_INLINE_API' #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368# define AST_INLINE_API(hdr, body) inline hdr body: 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.cIn file included from :bridge_simple.c37:42: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::2831: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:36750: : 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.h::99423:: 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 566warning:: 9array subscript is of type 'char' [-Wchar-subscripts]: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: 46 ^: /usr/include/pthread.hnote:: 370expanded from macro 'tolower': 9: note: previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] strcompat.c -> strcompat.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)])) ^~~~ 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)])) ^~~~ [CC] bsynz.c -> bsynz.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 In file included from #define pthread_cond_destroy __libc_cond_destroy cel_sqlite3_custom.c ^: 49: In file included from In file included from cdr_csv.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::40127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3021: : 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::563556::99:: warningwarning: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]'pthread_mutex_lock' 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_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ ^ /usr/include/pthread.h:368:9/usr/include/pthread.h:: 343note:: 9previous definition is here: note: previous definition is here#define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_csv.c:#define pthread_mutex_lock __libc_mutex_lock40 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hIn file included from :cel_sqlite3_custom.c30:: 49In 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.h32:: 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 565/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_wait' macro redefined [-Wmacro-redefined]23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 9 ^: /usr/include/pthread.hwarning:: 369'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 9: note: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockprevious definition is here ^ /usr/include/pthread.h:345:#define pthread_cond_wait __libc_cond_wait9 : ^ noteIn file included from : cdr_csv.cprevious definition is here: 40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:#define pthread_mutex_unlock __libc_mutex_unlock30 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :cel_sqlite3_custom.c32:: 49/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 566/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_cond_timedwait' 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:558:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]370 :9: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylocknote : ^previous definition is here /usr/include/pthread.h:#define pthread_cond_timedwait __libc_cond_timedwait344 : ^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.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.hIn file included from :370:9:bridge_softmix.c :note48: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_timedwait __libc_cond_timedwait: 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 ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #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_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #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_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h: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)])) ^~~~ 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)])) ^~~~ 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:31: In file included from /data/scratch/comms/asterisk18/work/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_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: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: '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_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:561:9: warning: '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_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h: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 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)])) ^~~~ 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)])) ^~~~ 13 warnings generated. 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)) ^~~~ cel_sqlite3_custom.c:64:19: warning: unused variable 'name' [-Wunused-const-variable] static const char name[] = "cel_sqlite3_custom"; ^ 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)])) ^~~~ [CC] func_devstate.c -> func_devstate.o 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)) ^~~~ 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)) ^~~~ 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))) ^~~~ 13 warnings generated. In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] format_vox.c -> format_vox.o 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:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 15 warnings generated. 13 warnings generated. [CC] pbx_loopback.c -> pbx_loopback.o [CC] res_convert.c -> res_convert.o 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: 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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 13 warnings generated. [CC] bridge_multiplexed.c -> bridge_multiplexed.o 14 warnings generated. [LD] cel_manager.o -> cel_manager.so 13 warnings generated. [CC] cdr_syslog.c -> cdr_syslog.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 ^ [CC] src/code.c -> src/code.o 13 warnings generated. [CC] codec_alaw.c -> codec_alaw.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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. [LD] eagi-sphinx-test.o -> eagi-sphinx-test [LD] cel_custom.o -> cel_custom.so [CC] doCPLC.c -> doCPLC.o 13 warnings generated. [CC] adsi.c -> adsi.o In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from [CC] chanwr.c -> chanwr.o /data/scratch/comms/asterisk18/work/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_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 ^ [LD] eagi-test.o strcompat.o -> eagi-test 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 pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 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 ^ /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 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 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 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)])) ^~~~ [CC] alaw.c -> alaw.o [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so 13 warnings generated. [CC] format_wav.c -> format_wav.o 13 warnings generated. [CC] pbx_dundi.c -> pbx_dundi.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 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: [CC] src/debug.c -> src/debug.o 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 In file included from cdr_syslog.c:codec_alaw.c39:: 34In file included from : /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/module.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h31:935:10: : In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: array subscript is of type 'char' [-Wchar-subscripts]: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: *pos = toupper(*pos);'pthread_cond_destroy' macro redefined [-Wmacro-redefined] ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): ^371 :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52note:: 47previous definition is here: note: expanded from macro 'AST_INLINE_API' #define pthread_cond_destroy __libc_cond_destroy# 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: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:9In file included from :cdr_syslog.c :warning39: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: 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: hash = hash * 33 ^ tolower(*str++);368 ^~~~~~~~~~~~~~~: 9/usr/include/sys/ctype_inline.h::59: 46: notenote: expanded from macro 'tolower': previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #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 ^ 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. [LD] bridge_builtin_features.o -> bridge_builtin_features.so [CC] aoc.c -> aoc.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 ^ /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] res_config_ldap.c -> res_config_ldap.o [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o 14 warnings generated. [CC] func_sysinfo.c -> func_sysinfo.o 13 warnings generated. [CC] format_gsm.c -> format_gsm.o [LD] bridge_simple.o -> bridge_simple.so 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] #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 ^ In file included from func_sprintf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_sprintf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ /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 ^ 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)])) ^~~~ 11 warnings generated. [LD] bridge_softmix.o -> bridge_softmix.so [CC] app_alarmreceiver.c -> app_alarmreceiver.o [CC] src/decode.c -> src/decode.o [CC] enhancer.c -> enhancer.o 13 warnings generated. [CC] dcbias.c -> dcbias.o [LD] cdr_manager.o -> cdr_manager.so In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] app_externalivr.c -> app_externalivr.o In file included from res_config_ldap.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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 aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] bridge_multiplexed.o -> bridge_multiplexed.so In file included from res_config_ldap.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_config_ldap.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 37 warnings generated. In file included from pbx_dundi.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_dundi.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] filter.c -> filter.o [LD] cdr_custom.o -> cdr_custom.so [CC] res_realtime.c -> res_realtime.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 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: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 ^ [CC] func_pitchshift.c -> func_pitchshift.o 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)])) ^~~~ 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)])) ^~~~ 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 [CC] src/long_term.c -> src/long_term.o 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 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)])) ^~~~ 13 warnings generated. [CC] app_dictate.c -> app_dictate.o In file included from app_alarmreceiver.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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_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 ^ [CC] decode.c -> decode.o 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] In file included from hash = hash * 33 ^ tolower(*str++);app_alarmreceiver.c : ^~~~~~~~~~~~~~~46 : /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h59::46144:: noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hexpanded from macro 'tolower': 30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h ^~~~: 935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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 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: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_externalivr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_externalivr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h: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] #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_externalivr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h: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 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 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: [CC] FrameClassify.c -> FrameClassify.o 994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] cdr_csv.o -> cdr_csv.so [CC] func_curl.c -> func_curl.o 13 warnings generated. [CC] format_ilbc.c -> format_ilbc.o 13 warnings generated. [CC] app.c -> app.o [CC] deemp.c -> deemp.o [LD] cdr_syslog.o -> cdr_syslog.so 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 ^ 13 warnings generated. [CC] src/lpc.c -> src/lpc.o [CC] dundi-parser.c -> dundi-parser.o 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)])) ^~~~ 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)) { ^~ = 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 [CC] func_strings.c -> func_strings.o #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 ^ 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. 13 warnings generated. [CC] gainquant.c -> gainquant.o [CC] res_pktccops.c -> res_pktccops.o [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so [CC] format_siren14.c -> format_siren14.o 13 warnings generated. [CC] codec_g722.c -> codec_g722.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 ^ [CC] getCBvec.c -> getCBvec.o 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:4613: warningIn file included from s/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h generated. :144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] pbx_ael.c -> pbx_ael.o [CC] app_macro.c -> app_macro.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 dundi-parser.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] ast_expr2.c -> ast_expr2.o 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)])) ^~~~ 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.h:558:9: warning: '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.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_init __libc_mutex_init ^ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_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.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:566:9: warning: '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.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)])) ^~~~ [CC] difmag.c -> difmag.o 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 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: In file included from /data/scratch/comms/asterisk18/work/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 ^ 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)])) ^~~~ 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)])) ^~~~ 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)])) ^~~~ 17 warnings and 2 errors generated. In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h: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 ^ /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] iax2-parser.c -> iax2-parser.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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:21In file included from : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.happ_macro.c::2338: : /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.h566::1449: : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h : ^ 935/usr/include/pthread.h:370:9::10 :note: previous definition is herewarning : array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_timedwait __libc_cond_timedwait ^ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from 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)])) ^~~~ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ 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:559:9: warning: '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: warningIn file included from : pbx_ael.c:'pthread_cond_wait' macro redefined [-Wmacro-redefined]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#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait:30 : In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h369::9359::10 :note : warningprevious definition is here: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_wait __libc_cond_wait ^ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ In file included from res_pktccops.c/usr/include/sys/ctype_inline.h::6057:46: :In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :expanded from macro 'toupper'127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))21 : ^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/inline_api.h::2352: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h47::566 :note9: expanded from macro 'AST_INLINE_API': warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #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_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)])) ^~~~ 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 codec_g722.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_g722.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_g722.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_g722.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_g722.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 ^ [CC] g722/g722_encode.c -> g722/g722_encode.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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hres_pktccops.c::12757: : 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: : 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:556::750: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 935:warning10: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/sys/ctype_inline.h:60:/usr/include/pthread.h46:: 343note:: 9expanded from macro 'toupper': note: 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 :ast_expr2.y note:: 217expanded from macro 'AST_INLINE_API': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: # define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^~~~:127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 In file included from res_pktccops.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::5726: : 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/channel.h::144127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:30:: 21In 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/linkedlists.h750:: 23/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.h994::55822::9 :warning : warningarray subscript is of type 'char' [-Wchar-subscripts]: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock /usr/include/sys/ctype_inline.h ^: 59/usr/include/pthread.h::46344:: 9note:: expanded from macro 'tolower'note : previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) #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. In file included from codec_g722.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_g722.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_adsi.c -> res_adsi.o [CC] dyptrk.c -> dyptrk.o 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)])) ^~~~ 15 warnings generated. In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ast_expr2.y:217: [CC] helpfun.c -> helpfun.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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 'funcs' failed gmake: *** [funcs] Error 2 gmake: *** Waiting for unfinished jobs.... [CC] iax2-provision.c -> iax2-provision.o 13 warnings generated. [CC] chan_sip.c -> chan_sip.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 iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: '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-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: '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-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: '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-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/preprocess.c -> src/preprocess.o 13 warnings generated. [CC] format_h263.c -> format_h263.o 13 warnings generated. 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)])) ^~~~ [CC] pbx_realtime.c -> pbx_realtime.o In file included from res_adsi.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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:2113: warningIn file included from s/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h generated. :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 ^ [CC] app_cdr.c -> app_cdr.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 In file included from iax2-provision.cres_adsi.c::4048: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::144: In file included from 30/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:: 30In 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/utils.h::32750: : /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/strings.h::935557::109:: warningwarning: : array subscript is of type 'char' [-Wchar-subscripts] 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h: *pos = toupper(*pos);345 : ~~~~~~~^~~~~~~~~~~~~~ 9: /usr/include/sys/ctype_inline.h:note60:: 46previous definition is here: note: expanded from macro 'toupper' #define pthread_mutex_unlock __libc_mutex_unlock #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:iax2-provision.c47:: 40note: : expanded from macro 'AST_INLINE_API' In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: # define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from /data/scratch/comms/asterisk18/work/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: In file included from warningres_adsi.c: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]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 #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/utils.h : ^750 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::342994::922:: notewarning: : previous definition is herearray subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_init __libc_mutex_init hash = hash * 33 ^ tolower(*str++); ^ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:In file included from 59iax2-provision.c::46: 40note: : expanded from macro 'tolower'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) In file included from ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: '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 ^ 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)])) ^~~~ [CC] src/rpe.c -> src/rpe.o In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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:23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559format_h263.c::935:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]28 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 36 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::34223:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 556note: :previous definition is here9 : warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]#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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/usr/include/pthread.h23:: 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9560:: 9note:: previous definition is herewarning : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroyIn file included from format_h263.c ^ :/usr/include/pthread.h35:: 346In file included from :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: 28note: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_mutex_destroy __libc_mutex_destroy23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :557In file included from :pbx_realtime.c9::38 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23#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 ^: 561/usr/include/pthread.h::9345:: 9warning:: 'pthread_cond_init' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^ /usr/include/pthread.hIn file included from :format_h263.c366::359: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hnote:: 28previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23#define pthread_cond_init __libc_cond_init: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: ^558 :9:In file included from pbx_realtime.cwarning: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]38 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: 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_trylock23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h562::3449::9 : warning: note: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ ^ In file included from /usr/include/pthread.hformat_h263.c::37135: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::28 : noteIn file included from : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :36: In file included from /data/scratch/comms/asterisk18/work/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 __libc_cond_destroy: 559 ^: 9:In file included from pbx_realtime.c: 38warning: : In file included from 'pthread_mutex_init' 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: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^ :/usr/include/pthread.h563::3429:9:: warningnote: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_mutex_init __libc_mutex_init#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ ^ /usr/include/pthread.h:367In file included from :format_h263.c9::35 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hprevious definition is here: 28: In file included from #define pthread_cond_signal __libc_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h : ^36 : In file included from In file included from pbx_realtime.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2338: : /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::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'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: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^564 :/usr/include/pthread.h9::346 :warning9: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] note: previous definition is here#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast #define pthread_mutex_destroy __libc_mutex_destroy ^ ^/usr/include/pthread.h :368In file included from :format_h263.c9::35 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hprevious definition is here: 28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_cond_broadcast __libc_cond_broadcast: 36 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hpbx_realtime.c::2338: : /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 ^: 565/usr/include/pthread.h::9366:: 9warning:: '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_init __libc_cond_init ^ ^ /usr/include/pthread.h:In file included from 369format_h263.c::935: : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hprevious definition is here: 28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_cond_wait __libc_cond_wait: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :pbx_realtime.c23:: 38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 562/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from warning/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: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy9 : ^ warning/usr/include/pthread.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]371 :9: note: previous definition is here #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:#define pthread_cond_destroy __libc_cond_destroy370 : ^9 : In file included from noteformat_h263.c: :previous definition is here35 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: #define pthread_cond_timedwait __libc_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ^ :36: In file included from /data/scratch/comms/asterisk18/work/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 ^ [CC] encode.c -> encode.o 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:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from chan_sip.c:221: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h: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] #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_sip.c:221: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h: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_destroy ^ In file included from chan_sip.c:221: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #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_sip.c:221: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h: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 ^ [CC] hpInput.c -> hpInput.o In file included from chan_sip.c:222: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from chan_sip.c:222: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /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_h263.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_h263.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 14 warnings generated. [CC] pbx_spool.c -> pbx_spool.o In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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] app_talkdetect.c -> app_talkdetect.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)])) ^~~~ 13 warnings generated. [CC] format_siren7.c -> format_siren7.o 13 warnings generated. chan_sip.c:2288:11: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if (code >= 0 && code < ARRAY_LEN(sip_reason_table)) { ~~~~ ^ ~ [CC] src/gsm_destroy.c -> src/gsm_destroy.o 13 warnings generated. [CC] ast_expr2f.c -> ast_expr2f.o In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h: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] energy.c -> energy.o In file included from pbx_spool.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_spool.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] src/gsm_decode.c -> src/gsm_decode.o 13 warnings generated. [CC] app_directed_pickup.c -> app_directed_pickup.o [LD] pbx_config.o -> pbx_config.so [CC] hpOutput.c -> hpOutput.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 ^ 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)])) ^~~~ 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)])) ^~~~ 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. [CC] asterisk.c -> asterisk.o 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 ^~~~ [CC] format_g726.c -> format_g726.o 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:994chan_sip.c::2215895:: 2warning:: array subscript is of type 'char' [-Wchar-subscripts]error : hash = hash * 33 ^ tolower(*str++);illegal storage class on function ^~~~~~~~~~~~~~~ RAII_VAR(char *, tmpf, NULL, ast_free);/usr/include/sys/ctype_inline.h : ^59 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h46::917 :note5: : expanded from macro 'tolower'note : expanded from macro 'RAII_VAR' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) auto void _dtor_ ## varname (vartype * v); \ ^~~~ ^ chan_sip.c:15895:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ [CC] src/gsm_encode.c -> src/gsm_encode.o chan_sip.c:16263:130: warning: address of array 'referdata->replaces_callid_fromtag' will always evaluate to 'true' [-Wpointer-bool-conversion] ast_debug(2, "Attended transfer: Will use Replace-Call-ID : %s F-tag: %s T-tag: %s\n", referdata->replaces_callid, referdata->replaces_callid_fromtag ? referdata->replaces_callid_fromtag : "", 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__); \ ^~~~~~~~~~~ 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 ^ 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); } \ ^ 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)])) ^~~~ 13 warnings generated. 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)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ [CC] g722/g722_decode.c -> g722/g722_decode.o 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)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 13 warnings generated. 13 warnings generated. [CC] res_crypto.c -> res_crypto.o [CC] app_db.c -> app_db.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. [CC] ham84.c -> ham84.o [LD] pbx_loopback.o -> pbx_loopback.so 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 ^ 13 warnings generated. In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] iCBConstruct.c -> iCBConstruct.o [CC] codec_adpcm.c -> codec_adpcm.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] hp100.c -> hp100.o 15 warnings generated. [CC] src/gsm_explode.c -> src/gsm_explode.o [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so 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 asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] iCBSearch.c -> iCBSearch.o 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 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)])) ^~~~ 13 warnings generated. [CC] codec_ulaw.c -> codec_ulaw.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)])) ^~~~ 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)) ^~~~ 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 asterisk.c:#define pthread_mutex_lock __libc_mutex_lock853: 2 ^: warningIn file included from : codec_adpcm.carray subscript is of type 'char' [-Wchar-subscripts]: 38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557 DEFINE_PROFILE_MIN_MAX_VALUES;: 9 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~: asterisk.cwarning:: 791'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 7: note: expanded from macro 'DEFINE_PROFILE_MIN_MAX_VALUES' #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ if (isdigit(a->argv[3][0])) { \ /usr/include/pthread.h ^~~~~~~~~~~~~~~~~~~~~~: 345/usr/include/sys/ctype_inline.h::519::44 :note : noteprevious definition is here: expanded from macro 'isdigit' #define pthread_mutex_unlock __libc_mutex_unlock#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^ ^~~~ 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 ^ 13 warnings generated. [CC] iLBC_decode.c -> iLBC_decode.o [CC] format_pcm.c -> format_pcm.o [LD] pbx_ael.o -> pbx_ael.so asterisk.c:1964:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ asterisk.c:1969:23: warning: array subscript is of type 'char' [-Wchar-subscripts] (s[4] == '\0' || isspace(s[4]))) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ asterisk.c:2656:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace(*ptr)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 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)])) ^~~~ [CC] app_waitforring.c -> app_waitforring.o In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_crypto.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] pbx_realtime.o -> pbx_realtime.so 13 warnings generated. [CC] res_phoneprov.c -> res_phoneprov.o [CC] astfd.c -> astfd.o 13 warnings generated. [CC] res_timing_pthread.c -> res_timing_pthread.o 13 warnings generated. [CC] invert.c -> invert.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] src/gsm_implode.c -> src/gsm_implode.o In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [LD] pbx_spool.o -> pbx_spool.so [CC] iLBC_encode.c -> iLBC_encode.o In file included from format_pcm.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_pcm.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] src/gsm_create.c -> src/gsm_create.o [CC] irc2pc.c -> irc2pc.o 13 warnings generated. [CC] iLBC_test.c -> iLBC_test.o [CC] src/gsm_print.c -> src/gsm_print.o [CC] ivfilt.c -> ivfilt.o 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 ^ [CC] format_wav_gsm.c -> format_wav_gsm.o 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 ^ [CC] lpcdec.c -> lpcdec.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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hres_phoneprov.c::12743: : 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.h564::7509: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :warning935: :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 *pos = toupper(*pos);: 9 ~~~~~~~^~~~~~~~~~~~~~: note: previous definition is here /usr/include/sys/ctype_inline.h:60:46: #define pthread_cond_broadcast __libc_cond_broadcastnote : ^expanded from macro 'toupper' In file included from app_waitforring.c:37: In file included from #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h : ^127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::2152: :In file included from 47/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hexpanded from macro 'AST_INLINE_API' :565:9: warning# define AST_INLINE_API(hdr, body) inline hdr body: '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 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#define pthread_cond_timedwait __libc_cond_timedwait: 144 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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_option.c -> src/gsm_option.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)])) ^~~~ In file included from src/gsm_create.c:res_timing_pthread.c7::3919: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hwarning:: 31unused variable 'ident' [-Wunused-const-variable]: In file included from /data/scratch/comms/asterisk18/work/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] static char const ident[] = "$Header$"; ^ #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)])) ^~~~ 1 warning generated. [CC] lpcenc.c -> lpcenc.o [CC] app_amd.c -> app_amd.o 13 warnings generated. [CC] astmm.c -> astmm.o [CC] codec_ilbc.c -> codec_ilbc.o [CC] src/short_term.c -> src/short_term.o [CC] app_forkcdr.c -> app_forkcdr.o [CC] codec_g726.c -> codec_g726.o [CC] src/table.c -> src/table.o In file included from format_wav_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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] LPCdecode.c -> LPCdecode.o In file included from format_wav_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_wav_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] lpcini.c -> lpcini.o [CC] lpfilt.c -> lpfilt.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 ^ 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] codec_a_mu.c -> codec_a_mu.o In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h: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: In file included from note: previous definition is here app_forkcdr.c:38: #define pthread_cond_wait __libc_cond_waitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hcodec_g726.c::2138: : 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::56623:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 556warning:: 9'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_lock' 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_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_cond_timedwait __libc_cond_timedwait ^ ^ /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] #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_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 ^ 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 ^ src/short_term.c:67:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value] STEP( -2560, -16, 13107 ); ^ ~~~~~ src/short_term.c:60:32: note: expanded from macro 'STEP' temp1 = GSM_SUB( temp1, B << 1 ); \ ~ ^ src/short_term.c:70:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value] STEP( -1792, -8, 17476 ); ^ ~~~~~ src/short_term.c:60:32: note: expanded from macro 'STEP' temp1 = GSM_SUB( temp1, B << 1 ); \ ~ ^ src/short_term.c:71:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value] STEP( -341, -4, 31454 ); ^ ~~~~ src/short_term.c:60:32: note: expanded from macro 'STEP' temp1 = GSM_SUB( temp1, B << 1 ); \ ~ ^ src/short_term.c:72:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value] STEP( -1144, -4, 29708 ); ^ ~~~~~ src/short_term.c:60:32: note: expanded from macro 'STEP' temp1 = GSM_SUB( temp1, B << 1 ); \ ~ ^ [CC] codec_lpc10.c -> codec_lpc10.o 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)])) ^~~~ 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)])) ^~~~ 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] LPCencode.c -> LPCencode.o 13 warnings generated. [CC] median.c -> median.o 13 warnings generated. [CC] astobj2.c -> astobj2.o 13 warnings generated. [CC] app_read.c -> app_read.o 13 warnings generated. [CC] mload.c -> mload.o [CC] app_adsiprog.c -> app_adsiprog.o 4 warnings generated. [CC] audiohook.c -> audiohook.o [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 13 warnings generated. [CC] onset.c -> onset.o [CC] app_waitforsilence.c -> app_waitforsilence.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 ^ [CC] res_jabber.c -> res_jabber.o 20 warnings generated. Makefile:347: recipe for target 'channels' failed gmake: *** [channels] Error 2 [CC] codec_gsm.c -> codec_gsm.o In file included from codec_lpc10.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_lpc10.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] format_jpeg.c -> format_jpeg.o 18 warnings generated. [CC] res_curl.c -> res_curl.o 13 warnings generated. [CC] app_controlplayback.c -> app_controlplayback.o In file included from codec_a_mu.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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:9: warning: '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_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 ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_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:563:9: warning: '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_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:564:9: warning: '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_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:565:9: warning: '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_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:566:9: warning: '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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [CC] lsf.c -> lsf.o 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 ^ [CC] app_url.c -> app_url.o 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 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 #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h: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 #define pthread_cond_wait __libc_cond_wait ^ 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:566:9: warning: '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_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 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 #define pthread_mutex_init __libc_mutex_init ^ In file included from app_waitforsilence.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h: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 ^ 13 warnings generated. 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h: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)) ^~~~ [CC] res_speech.c -> res_speech.o 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)])) ^~~~ app_adsiprog.c:1105:28: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] state->key->retstr[0] = 128; ~ ^~~ app_adsiprog.c:1141:26: warning: implicit conversion from 'int' to 'char' changes value from 130 to -126 [-Wconstant-conversion] state->sub->data[0] = 130; ~ ^~~ app_adsiprog.c:1258:20: warning: implicit conversion from 'int' to 'char' changes value from 129 to -127 [-Wconstant-conversion] disp->data[0] = 129; ~ ^~~ 13 warnings generated. In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] codec_speex.c -> codec_speex.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)])) ^~~~ 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 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 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)])) ^~~~ [CC] packing.c -> packing.o In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:In file included from 9res_jabber.c:: 46warning: : In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos);#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ~~~~~~~^~~~~~~~~~~~~~ ^ /usr/include/sys/ctype_inline.h:60/usr/include/pthread.h::46343:: 9note: : noteexpanded 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:52In file included from :app_controlplayback.c47::36 : note: In file included from expanded from macro 'AST_INLINE_API'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h :26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: # define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^~~~: 21: In file included from /data/scratch/comms/asterisk18/work/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 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] pitsyn.c -> pitsyn.o 13 warnings generated. 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 [CC] autochan.c -> autochan.o : 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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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. 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)])) ^~~~ [CC] StateConstructW.c -> StateConstructW.o In file included from format_jpeg.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ 13 warnings generated. [CC] res_agi.c -> res_agi.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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hformat_jpeg.c::3136: : 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/module.h::3231: : /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.h561::7509: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :warning935: :'pthread_cond_init' macro redefined [-Wmacro-redefined]10 : warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~#define pthread_cond_init __libc_cond_init ^/usr/include/sys/ctype_inline.h :60In file included from :res_curl.c46::40 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hexpanded from macro 'toupper': 31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :562 ^: 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :warning52: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]47 : note: expanded from macro 'AST_INLINE_API' #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ # define AST_INLINE_API(hdr, body) inline hdr body/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:In file included from 40format_jpeg.c: :In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :In file included from 31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :In file included from 31/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/utils.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h750:: 564/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::9994:: 22warning:: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]warning : array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++);#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^~~~~~~~~~~~~~~ ^ /usr/include/sys/ctype_inline.h/usr/include/pthread.h::59368::469:: notenote: : expanded from macro 'tolower'previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) #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)])) ^~~~ res_jabber.c:1367:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(buf[pos+1])) { ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 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] #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 ^ [CC] format_g723.c -> format_g723.o 13 warnings generated. 13 warnings generated. 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] StateSearchW.c -> StateSearchW.o [LD] codec_alaw.o -> codec_alaw.so 13 warnings generated. [CC] app_originate.c -> app_originate.o In file included from 13 warnings generated. 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: warning: '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 ^ [CC] placea.c -> placea.o 13 warnings generated. 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] syntFilter.c -> syntFilter.o 13 warnings generated. [CC] res_mutestream.c -> res_mutestream.o 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] format_g719.c -> format_g719.o In file included from autochan.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from autochan.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so [CC] placev.c -> placev.o 13 warnings generated. [CC] autoservice.c -> autoservice.o In file included from res_agi.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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)])) ^~~~ [LD] codec_adpcm.o -> codec_adpcm.so 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 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 ^ [CC] res_monitor.c -> res_monitor.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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:994In file included from :format_g723.c22::37 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.harray subscript is of type 'char' [-Wchar-subscripts]: 31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: hash = hash * 33 ^ tolower(*str++);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h : ^~~~~~~~~~~~~~~935 :/usr/include/sys/ctype_inline.h10::59 :warning46: :array subscript is of type 'char' [-Wchar-subscripts] note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from 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)])) ^~~~ 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:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_g719.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_g719.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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)])) ^~~~ [CC] app_authenticate.c -> app_authenticate.o [CC] res_musiconhold.c -> res_musiconhold.o 18 warnings generated. [CC] app_playtones.c -> app_playtones.o 13 warnings generated. [CC] preemp.c -> preemp.o [CC] app_setcallerid.c -> app_setcallerid.o [LD] codec_ulaw.o -> codec_ulaw.so [CC] res_stun_monitor.c -> res_stun_monitor.o 13 warnings generated. [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 [CC] prepro.c -> prepro.o [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o 13 warnings generated. [CC] format_sln.c -> format_sln.o [CC] app_celgenuserevent.c -> app_celgenuserevent.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 ^ 13 warnings generated. 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] random.c -> random.o 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 ^ [CC] app_queue.c -> app_queue.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 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 ^ 13 warnings generated. [CC] bridging.c -> bridging.o In file included from app_authenticate.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_authenticate.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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_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_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 ^ 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 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:In file included from 47res_musiconhold.c: :note51: : expanded from macro 'AST_INLINE_API'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30# 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/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] callerid.c -> callerid.o 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 ^ 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)])) ^~~~ [LD] codec_g726.o -> codec_g726.so 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)) ^~~~ 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 In file included from #define pthread_cond_signal __libc_cond_signalres_rtp_asterisk.c : ^44 : In file included from res_stun_monitor.cIn file included from :34/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/module.h:: 31: 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.h::14432: : 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/config.h::56430:: 9:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hwarning:: 750'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast935 :format_sln.c ^: 3310: /usr/include/pthread.h:In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :36828:: warningIn file included from 9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:array subscript is of type 'char' [-Wchar-subscripts]: note36: : previous definition is hereIn file included from *pos = toupper(*pos);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ~~~~~~~^~~~~~~~~~~~~~23 #define pthread_cond_broadcast __libc_cond_broadcast: /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: ^:60556 ::In file included from 946:: res_stun_monitor.cwarning:: 34note'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hexpanded from macro 'toupper': 31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h565::529#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock:: 47 : ^ warningnote: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]expanded from macro 'AST_INLINE_API' /usr/include/pthread.h:343# define AST_INLINE_API(hdr, body) inline hdr body: 9#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: ^~~~ ^ note/usr/include/pthread.h: :previous definition is here369 :9:#define pthread_mutex_lock __libc_mutex_lock note ^: previous definition is here In file included from format_sln.c:33: 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.hres_stun_monitor.c::3634: : 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/module.h::23In file included from : res_rtp_asterisk.c31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::: 44In file included from 557: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::9In file included from :32 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning26:: 566: :In file included from 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 144 : res_musiconhold.cIn file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::1717: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock30 : ^49'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: : In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:warning:345: 750array subscript is of type 'char' [-Wchar-subscripts]: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::9 else if (!strcasecmp(var->name, "digit") && (isdigit(*var->value) || strchr("*#", *var->value)))994 : ^~~~~~~~~~~~~~~~~~~~22 ^ /usr/include/sys/ctype_inline.h/usr/include/pthread.h::51:: :note 370: :previous definition is here9warning :44 : notearray subscript is of type 'char' [-Wchar-subscripts]: #define pthread_mutex_unlock __libc_mutex_unlockprevious definition is here ^: #define pthread_cond_timedwait __libc_cond_timedwaitnoteIn file included from : hash = hash * 33 ^ tolower(*str++); format_sln.c ^expanded from macro 'isdigit': ^~~~~~~~~~~~~~~33 : /usr/include/sys/ctype_inline.h In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h59#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))::46 28:: In file included from note ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: 36: : expanded from macro 'tolower'In file included from /data/scratch/comms/asterisk18/work/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 tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))558 : ^~~~9 : warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock [CC] rcchk.c -> rcchk.o ^ /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 ^ 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 ^ In file included from format_sln.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_sln.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 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) { ^~~ 13 warnings generated. 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 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] ccss.c -> ccss.o [CC] synths.c -> synths.o 13 warnings generated. [CC] res_calendar.c -> res_calendar.o [CC] cdr.c -> cdr.o 13 warnings generated. [CC] format_h264.c -> format_h264.o 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: warning: '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_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)])) ^~~~ 13 warnings generated. [CC] cel.c -> cel.o [CC] channel.c -> channel.o 13 warnings generated. 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 In file included from bridging.c:37: avgholdsecs = (abs(((qe->parent->holdtime + 30) - (now - qe->start))) - 60 * avgholdmins) / qe->parent->roundingseconds;In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^~~: 127 labs: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_a_mu.o -> codec_a_mu.so 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 ^ In file included from bridging.c:37app_queue.c: :In file included from 5021/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::18144:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: :absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935: holdtime = abs((now - qe->start) / 60);10 : ^ warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) app_queue.c ^: 5021:18/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52note:: 47:use function 'labs' instead note: expanded from macro 'AST_INLINE_API' holdtime = abs((now - qe->start) / 60); ^~~# define AST_INLINE_API(hdr, body) inline hdr body labs ^~~~ app_queue.c:5022:22: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] holdtimesecs = abs((now - qe->start) % 60); ^ app_queue.c:5022:22: note: use function 'labs' instead holdtimesecs = abs((now - qe->start) % 60); ^~~ labs 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)])) ^~~~ app_queue.c:5123:19: warning: address of array 'qe->parent->monfmt' will always evaluate to 'true' [-Wpointer-bool-conversion] if (qe->parent->monfmt && *qe->parent->monfmt) { ~~~~~~~~~~~~^~~~~~ ~~ 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)])) ^~~~ 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)) ^~~~ 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)) ^~~~ [CC] res_fax.c -> res_fax.o 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 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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hccss.c::2332: : /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.h562::219: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: 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: previous definition is here #define pthread_cond_destroy __libc_cond_destroy #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ ^ In file included from format_h264.c:35: /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h343::289: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hnote:: 36previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_lock __libc_mutex_lock563 : ^9 : In file included from warningccss.c: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]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: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^557 :/usr/include/pthread.h:9367:: 9warning:: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_cond_signal __libc_cond_signal#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^ In file included from /usr/include/pthread.hformat_h264.c::34535:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: 28note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: 36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_mutex_unlock __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^564 :9In file included from :ccss.c :warning32: : '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:558:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]368 :9: note: previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h#define pthread_cond_broadcast __libc_cond_broadcast: 344 ^: 9:In file included from format_h264.cnote:: 35previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_mutex_trylock __libc_mutex_trylock: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :ccss.c23:: 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 565/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:9::21 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:369:9: note: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initprevious definition is here ^ /usr/include/pthread.h:342:#define pthread_cond_wait __libc_cond_wait9 : ^ note: In file included from previous definition is hereformat_h264.c :35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28#define pthread_mutex_init __libc_mutex_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :36In file included from : ccss.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:3223: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h566::219: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: ^note : /usr/include/pthread.hprevious definition is here: 346:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait#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 ^ [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so 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 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)])) ^In file included from ccss.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h33:: 52/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::47994:: 22note:: expanded from macro 'AST_INLINE_API'warning : array subscript is of type 'char' [-Wchar-subscripts] # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ hash = hash * 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:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] tbdm.c -> tbdm.o 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) { ^ ( ) 13 warnings generated. 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: 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:913: warning swarning generated. : '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 ^ [LD] codec_speex.o -> codec_speex.so In file included from res_fax.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_fax.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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] [LD] format_sln16.o -> format_sln16.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 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.hIn file included from :23: cel.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::40565: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: : In file included from 'pthread_cond_wait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::369556::99:: notewarning: : previous definition is here'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait ^ In file included from channel.c:42: In file included from #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h : ^26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::34321:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :note23: : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :566:9: #define pthread_mutex_lock __libc_mutex_lockwarning : ^'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] In file included from cel.c:40: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127/usr/include/pthread.h: :In file included from 370/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:557:9:#define pthread_cond_timedwait __libc_cond_timedwait warning ^: '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] #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 channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_calendar.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_calendar.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h: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] #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_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 ^ 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) { ~~~~~~~~~~ ^ ~~ In file included from res_calendar.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_calendar.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/calendar.h:24: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))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)) { ~~~~ ^ ~ [CC] res_limit.c -> res_limit.o [LD] format_g729.o -> format_g729.so channel.c:1739:17: warning: address of array 'cmp_args->context' will always evaluate to 'true' [-Wpointer-bool-conversion] if (cmp_args->context && strcasecmp(chan->context, cmp_args->context) && ~~~~~~~~~~^~~~~~~ ~~ [LD] format_vox.o -> format_vox.so 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 15 warnings generated. [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so 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)) { ^~ = [CC] chanvars.c -> chanvars.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 ^ [CC] voicin.c -> voicin.o [CC] app_record.c -> app_record.o 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 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 ^ [LD] format_wav.o -> format_wav.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)])) ^~~~ [LD] format_gsm.o -> format_gsm.so 13 warnings generated. 13 warnings generated. 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 ^ [CC] vparms.c -> vparms.o [LD] format_ilbc.o -> format_ilbc.so 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 ^ 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] In file included from res_limit.c:32: In file included from #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/module.h : ^31 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h371::9750:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hnote:: 935previous definition is here :10: warning: array subscript is of type 'char' [-Wchar-subscripts]#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: *pos = toupper(*pos);26 : ~~~~~~~^~~~~~~~~~~~~~In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::6021:: 46In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:expanded from macro 'toupper'563 :9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal:47 : ^ note/usr/include/pthread.h: :expanded from macro 'AST_INLINE_API'367 :9: note: # define AST_INLINE_API(hdr, body) inline hdr bodyprevious 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 In file included from res_limit.capp_record.c::3237: : 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/pbx.h::31: 26In 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.h750:127: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::21994: :In file included from 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23 : warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.harray subscript is of type 'char' [-Wchar-subscripts]: 565:9: warning: hash = hash * 33 ^ tolower(*str++);'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait note : ^ expanded from macro 'tolower'/usr/include/pthread.h :369:9: note: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))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 ^ 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)])) ^~~~ 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)])) ^~~~ 14 warnings generated. [CC] app_dial.c -> app_dial.o [CC] cli.c -> cli.o [LD] format_siren14.o -> format_siren14.so 15 warnings generated. [CC] res_ael_share.c -> res_ael_share.o [CC] ael/ael_lex.c -> ael/ael_lex.o 14 warnings generated. [LD] format_h263.o -> format_h263.so [CC] config.c -> config.o 19 warnings generated. [LD] format_siren7.o -> format_siren7.so 13 warnings generated. [CC] data.c -> data.o [CC] ael/ael.tab.c -> ael/ael.tab.o [AR] f2clib.o analys.o bsynz.o chanwr.o dcbias.o decode.o deemp.o difmag.o dyptrk.o encode.o energy.o ham84.o hp100.o invert.o irc2pc.o ivfilt.o lpcdec.o lpcenc.o lpcini.o lpfilt.o median.o mload.o onset.o pitsyn.o placea.o placev.o preemp.o prepro.o random.o rcchk.o synths.o tbdm.o voicin.o vparms.o -> liblpc10.a [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.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 ^ 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 ^ In file included from cli.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h: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_dial.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_dial.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cli.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cli.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 14 warnings generated. In file included from 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 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] [CC] app_speech_utils.c -> app_speech_utils.o #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 ^ 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)])) ^~~~ [LD] format_g726.o -> format_g726.so [CC] datastore.c -> datastore.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)])) ^~~~ 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 cli.c#define pthread_cond_destroy __libc_cond_destroy: 2287 ^: 9:In file included from ael.ywarning:: 34array subscript is of type 'char' [-Wchar-subscripts]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9 while (isspace(*s)) {: ^~~~~~~~~~~warning : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/sys/ctype_inline.h :56:44: note: expanded from macro 'isspace' #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:#define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))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 ^ 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)])) ^~~~ 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 ael.y:In file included from 37data.c: :In file included from 37/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/module.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h31:: 935In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h10::32 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :array subscript is of type 'char' [-Wchar-subscripts]559 :9: warning: *pos = toupper(*pos);'pthread_mutex_init' macro redefined [-Wmacro-redefined] ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init46 : ^ note/usr/include/pthread.h: :expanded from macro 'toupper'342 :9: note: previous definition is here#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:#define pthread_mutex_init __libc_mutex_init52: 47 ^: noteIn file included from : data.cexpanded from macro 'AST_INLINE_API': 37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from # define AST_INLINE_API(hdr, body) inline hdr body/data/scratch/comms/asterisk18/work/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 ^ In file included from /usr/include/pthread.hael.y::36637:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :previous definition is here994 :22: warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_init __libc_cond_init ^ In file included from data.c hash = hash * 33 ^ tolower(*str++); : ^~~~~~~~~~~~~~~37 : In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::59:3146: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote:: 32expanded from macro 'tolower': /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): '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 ^ 13 warnings generated. [LD] format_pcm.o -> format_pcm.so [CC] app_channelredirect.c -> app_channelredirect.o In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: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 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 ^ [LD] format_wav_gsm.o -> format_wav_gsm.so 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)])) ^~~~ 17 warnings generated. [CC] db.c -> db.o In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :data.c127:: 37In file included from : /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/module.h: In file included from :/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::556750:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 994warning:: 22'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock59 : ^46 : note: expanded from macro 'tolower' /usr/include/pthread.h:343:9: note#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): 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: 13warning warning: s'pthread_cond_signal' macro redefined [-Wmacro-redefined] generated. #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 ^ 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 ^ [CC] ael/pval.c -> ael/pval.o In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 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 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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [LD] format_jpeg.o -> format_jpeg.so [CC] app_ices.c -> app_ices.o 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)])) ^~~~ [LD] format_g723.o -> format_g723.so 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 ^ 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)) ^~~~ 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_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 ^13 warning/usr/include/pthread.h:s366 generated. :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 ^ 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] app_chanspy.c -> app_chanspy.o [LD] format_g719.o -> format_g719.so In file included from app_ices.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_ices.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_sln.o -> format_sln.so 13 warnings generated. [CC] res_clioriginate.c -> res_clioriginate.o 13 warnings generated. 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 ^ [CC] res_config_curl.c -> res_config_curl.o [LD] format_h264.o -> format_h264.so In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_chanspy.c:959:12: warning: array subscript is of type 'char' [-Wchar-subscripts] *s = tolower(*s); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] res_rtp_multicast.c -> res_rtp_multicast.o [CC] devicestate.c -> devicestate.o 13 warnings generated. [CC] app_echo.c -> app_echo.o 13 warnings generated. 13 warnings generated. [CC] dial.c -> dial.o [CC] app_zapateller.c -> app_zapateller.o In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_clioriginate.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 ^ 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 ^ 16 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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] res_clialiases.c -> res_clialiases.o [CC] app_followme.c -> app_followme.o 13 warnings generated. [CC] dns.c -> dns.o 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 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 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 ^ 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: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: '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 ^ 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 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)])) ^~~~ 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 devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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 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);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: /usr/include/sys/ctype_inline.h:60In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:46750: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :994note: :expanded from macro 'toupper'22 : warning: array subscript is of type 'char' [-Wchar-subscripts] #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ hash = hash * 33 ^ tolower(*str++); /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h ^~~~~~~~~~~~~~~: 52/usr/include/sys/ctype_inline.h::4759::46 :note note: : expanded from macro 'AST_INLINE_API'expanded from macro 'tolower' # define AST_INLINE_API(hdr, body) inline hdr body #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ ^~~~ In file included from 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)])) ^~~~ 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 ^ 14 warnings generated. 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] res_security_log.c -> res_security_log.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)])) ^~~~ 13 warnings generated. 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 ^ 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: [LD] res_timing_kqueue.o -> res_timing_kqueue.so In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/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 ^ 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)])) ^~~~ 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)])) ^~~~ [CC] dnsmgr.c -> dnsmgr.o 13 warnings generated. [LD] res_smdi.o -> res_smdi.so [CC] dsp.c -> dsp.o 13 warnings generated. [LD] res_convert.o -> res_convert.so 13 warnings generated. 13 warnings generated. [CC] app_verbose.c -> app_verbose.o [CC] app_playback.c -> app_playback.o [CC] enum.c -> enum.o 13 warnings generated. 14 warnings generated. [CC] app_directory.c -> app_directory.o [LD] res_config_ldap.o -> res_config_ldap.so In file included from res_security_log.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] app_disa.c -> app_disa.o /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: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 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 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 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [LD] res_realtime.o -> res_realtime.so [CC] app_mp3.c -> app_mp3.o [CC] app_parkandannounce.c -> app_parkandannounce.o In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from dsp.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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] 13 warnings generated. *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from dsp.c:54: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] event.c -> event.o [LD] res_pktccops.o -> res_pktccops.so dsp.c:341:20: warning: unused function 'goertzel_update' [-Wunused-function] static inline void goertzel_update(goertzel_state_t *s, short *samps, int count) ^ In file included from app_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 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 ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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] #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_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h: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 ^ [CC] app_getcpeid.c -> app_getcpeid.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)])) ^~~~ 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)])) ^~~~ 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)) ^~~~ enum.c:559:14: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (isprint(*subst)) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ enum.c:816:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:835:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:946:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(number[pos])) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ [CC] features.c -> features.o 13 warnings generated. In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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:9In file included from :app_disa.c :note40: : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :556:9: warning#define pthread_mutex_unlock __libc_mutex_unlock: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ 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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock : ^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] /usr/include/pthread.h:343:9: note: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockprevious definition is here ^ /usr/include/pthread.h:344:#define pthread_mutex_lock __libc_mutex_lock9 ^ : noteIn file included from : app_disa.cprevious definition is here: 40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_trylock __libc_mutex_trylock: 557 ^: 9:In file included from app_directory.cwarning:: 40'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 127/usr/include/pthread.h: :In file included from 345/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 : #define pthread_mutex_unlock __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^559 :In file included from 9app_disa.c:: 40warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 558:9: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initwarning : ^'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:342:9:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock note ^ : /usr/include/pthread.hprevious definition is here: 344:9: #define pthread_mutex_init __libc_mutex_initnote : ^previous definition is here In file included from app_directory.c:40#define pthread_mutex_trylock __libc_mutex_trylock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h :In file included from 26app_disa.c: :In file included from 40/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:: 559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::21 : 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:560#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init : ^9 :/usr/include/pthread.h :warning342: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]9 : note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^#define pthread_mutex_init __libc_mutex_init /usr/include/pthread.h ^: 346In file included from :app_disa.c9::40 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here560 :9: warning: #define pthread_mutex_destroy __libc_mutex_destroy'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ^ In file included from app_directory.c:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy40 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/usr/include/pthread.h::26346: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hprevious definition is here: 21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_destroy __libc_mutex_destroy : ^23 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_disa.c::56140:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 561warning:: 9'pthread_cond_init' macro redefined [-Wmacro-redefined]: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init/usr/include/pthread.h : ^366 :/usr/include/pthread.h:9366:: 9note:: previous definition is herenote : previous definition is here #define pthread_cond_init __libc_cond_init ^#define pthread_cond_init __libc_cond_init ^In file included from app_directory.cIn file included from :app_disa.c40:: 40In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::26562: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: : In file included from 'pthread_cond_destroy' 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:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h562::3719:9:: warningnote: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_cond_destroy __libc_cond_destroy#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ ^ In file included from /usr/include/pthread.happ_disa.c::37140:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :note563: :previous definition is here9 : warning: #define pthread_cond_destroy __libc_cond_destroy'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ In file included from app_directory.c#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 40 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::36726:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :note127: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: #define pthread_cond_signal __libc_cond_signalIn file included from /data/scratch/comms/asterisk18/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 :app_disa.c563::409: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning564: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9 : warning: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast367 : ^9 :/usr/include/pthread.h :note368: :previous definition is here9 : note#define pthread_cond_signal __libc_cond_signal: previous definition is here ^ In file included from app_directory.c:40#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_disa.c: :In file included from 40/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:: 565In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::21 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ warning/usr/include/pthread.h: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]369 :9: note: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ #define pthread_cond_wait __libc_cond_wait/usr/include/pthread.h ^ :In file included from 368app_disa.c::940:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 566previous definition is here: 9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_directory.c:40#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/pbx.h :/usr/include/pthread.h26:: 370In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9: :note127: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_timedwait __libc_cond_timedwait23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :565:9: warning: '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 ^ [LD] res_adsi.o -> res_adsi.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:144In file included from : app_directory.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h40:: 30In 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/utils.h26:: 750In 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/strings.h::144935: :In file included from 10/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:: 30warning: : In file included from array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/usr/include/sys/ctype_inline.h : ^60 :46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52note:: 47expanded from macro 'toupper': note: expanded from macro 'AST_INLINE_API' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ # define AST_INLINE_API(hdr, body) inline hdr body ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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 16/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h warning:s30 generated. : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: In file included from array subscript is of type 'char' [-Wchar-subscripts]app_directory.c :40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h hash = hash * 33 ^ tolower(*str++);: 26 ^~~~~~~~~~~~~~~: In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::59144:: 46:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hnote:: 30expanded from macro 'tolower': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))994 : ^~~~22 : warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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_readexten.c -> app_readexten.o app_directory.c:178:11: warning: array subscript is of type 'char' [-Wchar-subscripts] digit = toupper(*text++); ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ In file included from app_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 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 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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_parkandannounce.c::56541:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :warning144: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_wait use_ast_cond_wait_instead_of_pthread_cond_wait750 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :/usr/include/pthread.h935::36910::9 :warning : notearray subscript is of type 'char' [-Wchar-subscripts]: 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: *pos = toupper(*pos);warning : ~~~~~~~^~~~~~~~~~~~~~'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] /usr/include/sys/ctype_inline.h:60:46: note#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: expanded from macro 'toupper' ^ /usr/include/pthread.h:370: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_timedwaitnote : ^expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ [CC] file.c -> file.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:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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: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)) { ~~~~ ^ ~ 13 warnings generated. 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)])) ^~~~ event.c:718:17: 26warning warning: scomparison of constant -1 with expression of type 'enum ast_event_type' is always false [-Wtautological-constant-out-of-range-compare] generated. 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_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] [LD] res_crypto.o -> res_crypto.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 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 ^ [CC] fixedjitterbuf.c -> fixedjitterbuf.o 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)])) ^~~~ 13 warnings generated. 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_unlockIn file included from ^ [CC] frame.c -> frame.o In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558app_readexten.c::936: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hwarning:: 26'pthread_mutex_trylock' 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: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: 556 ^: 9:/usr/include/pthread.h :warning344: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 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_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h/usr/include/pthread.h::343342::99:: notenote: : previous definition is hereprevious definition is here #define pthread_mutex_lock __libc_mutex_lock ^ #define pthread_mutex_init __libc_mutex_initIn file included from app_readexten.c: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hIn file included from :26: In file included from features.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::127: 42In 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/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h560::23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9:557:: 9warning:: warning'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/usr/include/pthread.h :345: ^9 :/usr/include/pthread.h :note346: :previous definition is here9 : note: previous definition is here#define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_readexten.c:36: In file included from #define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h : ^26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :features.c127:: In file included from 42/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:: 561In file included from /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::558 :9warning:: 'pthread_cond_init' macro redefined [-Wmacro-redefined]warning : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^/usr/include/pthread.h: 344/usr/include/pthread.h::9:366 :note9: :previous definition is here note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_readexten.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.h:26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :features.c127: :In file included from 42/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21:: 562In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 559warning:: 9'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ ^/usr/include/pthread.h :342:/usr/include/pthread.h9: :note371: :previous definition is here9 : note: previous definition is here#define pthread_mutex_init __libc_mutex_init ^ In file included from app_readexten.c:36: In file included from #define pthread_cond_destroy __libc_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hfeatures.c::2142: : 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::56323:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 560warning:: 9'pthread_cond_signal' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ ^ /usr/include/pthread.h/usr/include/pthread.h::346367:9:: 9note:: previous definition is herenote : previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from #define pthread_cond_signal __libc_cond_signalapp_readexten.c: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:In file included from 26features.c: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h42:: 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 564/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::219: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init/usr/include/pthread.h : ^ 368/usr/include/pthread.h::9366::9 :note : note: previous definition is hereprevious definition is here #define pthread_cond_init __libc_cond_init ^ #define pthread_cond_broadcast __libc_cond_broadcastIn file included from app_readexten.c ^: 36: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hfeatures.c:26: :In file included from 42/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::21565: :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_wait' macro redefined [-Wmacro-redefined]: 562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 369 ^ :/usr/include/pthread.h:9371:: 9note: : noteprevious definition is here: previous definition is here #define pthread_cond_destroy __libc_cond_destroy#define pthread_cond_wait __libc_cond_wait ^ ^In file included from app_readexten.c:36: In file included from In file included from features.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::2642: : 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::127566: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]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_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal/usr/include/pthread.h : ^370 :/usr/include/pthread.h9::367 :note9:: previous definition is herenote : previous definition is here #define pthread_cond_signal __libc_cond_signal ^ #define pthread_cond_timedwait __libc_cond_timedwaitIn 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 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 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)])) ^~~~ 13 warnings generated. 13 warnings generated. 18 warnings generated. [CC] framehook.c -> framehook.o [CC] fskmodem.c -> fskmodem.o [LD] res_phoneprov.o -> res_phoneprov.so [CC] global_datastores.c -> global_datastores.o 13 warnings generated. [CC] hashtab.c -> hashtab.o 22 warnings generated. [CC] app_senddtmf.c -> app_senddtmf.o 13 warnings generated. [CC] heap.c -> heap.o 14 warnings generated. 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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/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 ^ [LD] res_timing_pthread.o -> res_timing_pthread.so 13 warnings generated. In file included from file.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from file.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] http.c -> http.o [LD] res_jabber.o -> res_jabber.so 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 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 ^ 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 frame.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from frame.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 14 warnings generated. [CC] image.c -> image.o [LD] res_curl.o -> res_curl.so 15 warnings generated. 13 warnings generated. [CC] app_while.c -> app_while.o [LD] res_speech.o -> res_speech.so 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: [CC] indications.c -> indications.o 26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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] #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_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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 [CC] app_milliwatt.c -> app_milliwatt.o : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 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 ^ 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 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 In file included from heap.c:global_datastores.c35:: 34In file included from : /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/global_datastores.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935::10: warning27: : array subscript is of type 'char' [-Wchar-subscripts] In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast note ^: expanded from macro 'toupper' /usr/include/pthread.h:368: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: note : expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body#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 ^ In file included from /usr/include/pthread.hheap.c::35369: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::994 :note22: : warning: previous definition is herearray subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); #define pthread_cond_wait __libc_cond_wait ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h ^: 59:46In file included from : noteglobal_datastores.c: :expanded from macro 'tolower' 34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) 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 hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 16 warnings generated. 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)])) ^~~~ 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)])) ^~~~ 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 ^ [LD] res_agi.o -> res_agi.so [CC] app_exec.c -> app_exec.o 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 [CC] app_readfile.c -> app_readfile.o :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 http.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from http.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. In file included from 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] #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_mutestream.o -> res_mutestream.so 13 warnings generated. In file included from image.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from image.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_stack.c -> app_stack.o 13 warnings generated. [LD] res_monitor.o -> res_monitor.so 14 warnings generated. [CC] app_confbridge.c -> app_confbridge.o [LD] res_musiconhold.o -> res_musiconhold.so 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] [CC] app_userevent.c -> app_userevent.o #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 ^ 13 warnings generated. [LD] res_stun_monitor.o -> res_stun_monitor.so In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ 13 warnings generated. [CC] app_sayunixtime.c -> app_sayunixtime.o 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)])) ^~~~ [CC] app_chanisavail.c -> app_chanisavail.o [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so 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 ^ indications.c:In file included from 364app_milliwatt.c::2436:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :comparison of unsigned expression >= 0 is always true [-Wtautological-compare]31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h if (tone_data.freq1 >= 0 && tone_data.freq1 <= 127) {: 563 ~~~~~~~~~~~~~~~ ^ ~: 9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] indications.c:370:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal24 : ^ warning/usr/include/pthread.h: :comparison of unsigned expression >= 0 is always true [-Wtautological-compare]367 :9: note: previous definition is here if (tone_data.freq2 >= 0 && tone_data.freq2 <= 127) { ~~~~~~~~~~~~~~~ ^ ~ #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:31: In file included from /data/scratch/comms/asterisk18/work/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_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 ^~~~ indications.c:922:8:In file included from app_milliwatt.cwarning:: 36array subscript is of type 'char' [-Wchar-subscripts]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: if (!isdigit(ring[0]) || (val = atoi(ring)) == -1) {750 : ^~~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :/usr/include/sys/ctype_inline.h994::5122::44 :warning : notearray subscript is of type 'char' [-Wchar-subscripts]: expanded from macro 'isdigit' hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))/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_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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_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:563:9: warning: '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: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: '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_exec.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h: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_exec.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_exec.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_transfer.c -> app_transfer.o 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] 13 warnings generated. #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 [CC] io.c -> io.o : warning: '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 ^ [CC] app_dumpchan.c -> app_dumpchan.o 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. [CC] app_test.c -> app_test.o 13 warnings generated. 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 ^ [CC] jitterbuf.c -> jitterbuf.o 13 warnings generated. [LD] res_calendar.o -> res_calendar.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [LD] res_fax.o -> res_fax.so 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 ^ 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)])) ^~~~ 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 ^ /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 ^ 13 warnings generated. In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] loader.c -> loader.o 13 warnings generated. 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)])) ^~~~ [CC] lock.c -> lock.o 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)])) ^~~~ [CC] logger.c -> logger.o [LD] res_limit.o -> res_limit.so 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 ^ 13 warnings generated. [CC] app_nbscat.c -> app_nbscat.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_broadcastIn file included from app_sayunixtime.c ^: 37/usr/include/pthread.h: :In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9144:: note: 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.hIn file included from :app_dumpchan.c935::3910: : In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :array subscript is of type 'char' [-Wchar-subscripts]26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h *pos = toupper(*pos);: 21 ~~~~~~~^~~~~~~~~~~~~~: In file included from /data/scratch/comms/asterisk18/work/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/sys/ctype_inline.h::56560::946: :warning : note'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 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:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h369::529::47 :note : noteprevious definition is here: 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 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 ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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 ^ 16 warnings generated. In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_transfer.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: 13In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hs: generated. 144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so [CC] manager.c -> manager.o 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. 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 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 ^ [LD] res_clioriginate.o -> res_clioriginate.so 13 warnings generated. In file included from io.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #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 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)])) ^~~~ [LD] res_config_curl.o -> res_config_curl.so 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 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. [CC] app_sendtext.c -> app_sendtext.o [CC] md5.c -> md5.o [LD] res_rtp_multicast.o -> res_rtp_multicast.so 13 warnings generated. [CC] app_image.c -> app_image.o 13 warnings generated. [CC] netsock.c -> netsock.o 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 ^ 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 ^ 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)])) ^~~~ 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)])) ^~~~ [CC] app_softhangup.c -> app_softhangup.o [CC] netsock2.c -> netsock2.o 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 ^ 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. 13 warnings generated. [CC] app_minivm.c -> app_minivm.o 13 warnings generated. [CC] pbx.c -> pbx.o [LD] res_clialiases.o -> res_clialiases.so [CC] app_voicemail.c -> app_voicemail.o 14 warnings generated. 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 ^ [LD] res_security_log.o -> res_security_log.so 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)])) ^~~~ [CC] plc.c -> plc.o In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h: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 ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h: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:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_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:562:9: warning: '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_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:563:9: warning: '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_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:564:9: warning: '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_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:565:9: warning: '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_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:566:9: warning: '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 manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 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: '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 ^ [CC] app_morsecode.c -> app_morsecode.o 13 warnings generated. In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] poll.c -> poll.o 13 warnings generated. [CC] privacy.c -> privacy.o manager.c:1625:10: warning: address of array 'user->username' will always evaluate to 'true' [-Wpointer-bool-conversion] (user->username ? user->username : "(N/A)"), ~~~~~~^~~~~~~~ ~ In file included from 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 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 ^ In file included from app_minivm.c:162: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_minivm.c:162: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h: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 ^ [CC] app_festival.c -> app_festival.o 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)])) ^~~~ 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_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_trylock13 warning ^s generated. /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)])) ^~~~ [CC] app_system.c -> app_system.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] #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 ^ 13 warnings generated. app_minivm.c:1563:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(*i)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 13 warnings generated. 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 ^~~~ app_minivm.c:1822:18: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ app_minivm.c:1834:17: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ manager.c:In file included from 5709app_softhangup.c::2337:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :array subscript is of type 'char' [-Wchar-subscripts]144 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from if ( (mode & 2) && !isalnum(*src)) {/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^~~~~~~~~~~~~750 : /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::48994::4422:: notewarning: : expanded from macro 'isalnum'array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++);#define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~~~~~~~~~~~~ ^~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ manager.c:5742:20: warning: array subscript is of type 'char' [-Wchar-subscripts] *dst++ = mode ? tolower(*src) : *src; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] rtp_engine.c -> rtp_engine.o [CC] app_mixmonitor.c -> app_mixmonitor.o 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 : "-", ~~~~~^~~~~~~~~ ~ app_voicemail.c:8221:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8221:26: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8221:26: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8235:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->oldmessages == 1)){ ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8235:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->oldmessages == 1)){ ~ ^ ~ app_voicemail.c:8235:25: note: use '=' to turn this equality comparison into an assignment if ((vms->oldmessages == 1)){ ^~ = app_voicemail.c:8427:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->urgentmessages == 1)) ~~~~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8427:30: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->urgentmessages == 1)) ~ ^ ~ app_voicemail.c:8427:30: note: use '=' to turn this equality comparison into an assignment if ((vms->urgentmessages == 1)) ^~ = app_voicemail.c:8440:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8440:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8440:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8592:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8592:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8592:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8636:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8636:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8636:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8671:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8671:26: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8671:26: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8680:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8680:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8680:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8727:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8727:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8727:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8778:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8778:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8778:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8824: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)) ^~ = 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)) ^~~~ 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)) ^~~~ [CC] app_privacy.c -> app_privacy.o 13 warnings generated. [CC] say.c -> say.o 13 warnings generated. [CC] sched.c -> sched.o 13 warnings generated. [LD] app_waituntil.o -> app_waituntil.so 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 #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h: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 app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h: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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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 In file included from #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from privacy.c:38: In file included from poll.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::83127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3221: : /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.h:55623:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 559warning:: 9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h: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 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/usr/include/pthread.h: :In file included from 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 560previous definition is here: 9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]#define pthread_mutex_lock __libc_mutex_lock ^ In file included from poll.c:83#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :/usr/include/pthread.h32:: 346/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9557:: 9note:: previous definition is herewarning : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockprivacy.c : ^38 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h345::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note21: : 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:561:#define pthread_mutex_unlock __libc_mutex_unlock9: ^warning : In file included from 'pthread_cond_init' macro redefined [-Wmacro-redefined]poll.c :83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 558/usr/include/pthread.h::9366:: 9warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_cond_init __libc_cond_init #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ ^In file included from privacy.c :/usr/include/pthread.h38:: 344In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hprevious definition is here: 21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^ 562:9In file included from :poll.c :warning83: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy9 : ^ warning/usr/include/pthread.h: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 371:9: note: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initprevious definition is here ^ /usr/include/pthread.h:342:9: #define pthread_cond_destroy __libc_cond_destroynote : previous definition is here ^ In file included from privacy.c#define pthread_mutex_init __libc_mutex_init : ^38 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hpoll.c:83:: 127In file included from : /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/astobj2.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21:: 560In file included from :9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroywarning : ^ 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h:346 :9: note: previous definition is here #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal #define pthread_mutex_destroy __libc_mutex_destroy ^ ^/usr/include/pthread.h :In file included from poll.c367::839: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here561 :9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]#define pthread_cond_signal __libc_cond_signal ^ In file included from privacy.c#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: 38 ^: In file included from /usr/include/pthread.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h366::1279: : In file included from note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hprevious definition is here: 21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_init __libc_cond_init23 : ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :poll.c564::83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9::32 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]562 :9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy/usr/include/pthread.h : ^368 :/usr/include/pthread.h:9371:9:: notenote: previous definition is here : previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from poll.c#define pthread_cond_broadcast __libc_cond_broadcast: 83: ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :privacy.c32:: 38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:: 9In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: : app_festival.c'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 48In 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/channel.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal21144 : : In file included from ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::23367:: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h930:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :previous definition is here750 : :#define pthread_cond_signal __libc_cond_signal 565/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h ^: 935In file included from :poll.c::983:: 10warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]32warning : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :array subscript is of type 'char' [-Wchar-subscripts]564 :9#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: ^warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :369 *pos = toupper(*pos);:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast 9 ~~~~~~~^~~~~~~~~~~~~~ : ^note /usr/include/sys/ctype_inline.h/usr/include/pthread.h: ::previous definition is here36860:: 9:46 :note#define pthread_cond_wait __libc_cond_wait : previous definition is here ^note : expanded from macro 'toupper'In file included from privacy.c#define pthread_cond_broadcast __libc_cond_broadcast: ^#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))38 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h In file included from :poll.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h127:: :83In file included from 52: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h47In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::32 21note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: In file included from :expanded from macro 'AST_INLINE_API'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h565 :9::23 warning# define AST_INLINE_API(hdr, body) inline hdr body: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_wait' macro redefined [-Wmacro-redefined] : ^~~~ 566 :9: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_waitwarning : ^'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:369:9: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitnote: previous definition is here ^ /usr/include/pthread.h:#define pthread_cond_wait __libc_cond_wait370 : ^ 9In file included from :poll.c: 83note: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hprevious definition is here: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:#define pthread_cond_timedwait __libc_cond_timedwait9: ^warning : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] In file included from app_festival.c:48: In file included from #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::144370: :9:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hnote:: previous definition is here 30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_timedwait __libc_cond_timedwait750 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 app_morsecode.c:36: In file included from In file included from privacy.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::38127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::14421: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3023: : 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::556750:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 994warning:: 22'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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] #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 ^ [CC] security_events.c -> security_events.o 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)])) ^~~~ [CC] sha1.c -> sha1.o In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: '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:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_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 ^ 13 warnings generated. 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 ^ [LD] app_sms.o -> app_sms.so 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 rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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 #define pthread_cond_init __libc_cond_init ^ In file included from app_mixmonitor.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_mixmonitor.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_mixmonitor.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_mixmonitor.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_mixmonitor.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h:31: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [LD] app_alarmreceiver.o -> app_alarmreceiver.so In file included from app_mixmonitor.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_mixmonitor.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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] srv.c -> srv.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)])) ^~~~ 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 #define pthread_cond_signal __libc_cond_signal ^ In file included from app_privacy.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h: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: warning: '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_privacy.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 ^ 13 warnings generated. 13 warnings generated. [CC] ssl.c -> ssl.o In file included from app_privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ [LD] app_externalivr.o -> app_externalivr.so [CC] stdtime/localtime.c -> stdtime/localtime.o 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) { ~~~~~~~~~~~~~~~ ^ ~ [CC] strcompat.c -> strcompat.o 13 warnings generated. 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: [CC] strings.c -> strings.o warning: '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 ^ 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 ^ 13 warnings generated. [LD] app_dictate.o -> app_dictate.so In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ 15 warnings generated. In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] app_macro.o -> app_macro.so [CC] stun.c -> stun.o [CC] syslog.c -> syslog.o 11 warnings generated. [LD] app_cdr.o -> app_cdr.so 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_talkdetect.o -> app_talkdetect.so In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] taskprocessor.c -> taskprocessor.o 13 warnings generated. 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 [CC] tcptls.c -> tcptls.o #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 ^ [LD] app_directed_pickup.o -> app_directed_pickup.so 13 warnings generated. In file included from stdtime/localtime.c:77: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from stdtime/localtime.c:77: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ stdtime/localtime.c:394:6: warning: incompatible integer to pointer conversion assigning to 'struct state *' from '__intptr_t' (aka 'long') [-Wint-conversion] sp = kev.udata; ^ ~~~~~~~~~ [LD] app_db.o -> app_db.so [CC] tdd.c -> tdd.o 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 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)])) ^~~~ [CC] term.c -> term.o 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 ^ 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)])) ^~~~ [CC] test.c -> test.o 13 warnings generated. [LD] app_waitforring.o -> app_waitforring.so 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)])) ^~~~ 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: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 taskprocessor.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h: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:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from taskprocessor.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h: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 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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] threadstorage.c -> threadstorage.o In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ In file included from term.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:tcptls.c556::944:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: array subscript is of type 'char' [-Wchar-subscripts] ^ /usr/include/pthread.h: *pos = toupper(*pos);343 :9: ~~~~~~~^~~~~~~~~~~~~~note : previous definition is here /usr/include/sys/ctype_inline.h:#define pthread_mutex_lock __libc_mutex_lock ^60 :In file included from 46term.c::41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :557note:: 9expanded from macro 'toupper': warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ #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/inline_api.h :/usr/include/pthread.h:52345::47913:: warningnotesnote: generated. : previous definition is hereexpanded from macro 'AST_INLINE_API' #define pthread_mutex_unlock __libc_mutex_unlock ^ # define AST_INLINE_API(hdr, body) inline hdr bodyIn 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: In file included from previous definition is heretcptls.c :44: In file included from #define pthread_mutex_init __libc_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h : ^52 : In file included from term.cIn file included from :41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::750560: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9::994 warning:: 22'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] : warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346: hash = hash * 33 ^ tolower(*str++);9: ^~~~~~~~~~~~~~~note : previous definition is here/usr/include/sys/ctype_inline.h :59:46:#define pthread_mutex_destroy __libc_mutex_destroy note ^: expanded from macro 'tolower'In file included from term.c: 41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))'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 ^ 23 warnings generated. 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] timing.c -> timing.o [LD] app_amd.o -> app_amd.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)])) ^~~~ 13 warnings generated. [LD] app_forkcdr.o -> app_forkcdr.so 13 warnings generated. [CC] translate.c -> translate.o 13 warnings generated. [CC] udptl.c -> udptl.o 13 warnings generated. [LD] app_read.o -> app_read.so [LD] app_adsiprog.o -> app_adsiprog.so 13 warnings generated. [LD] app_waitforsilence.o -> app_waitforsilence.so [LD] app_controlplayback.o -> app_controlplayback.so [LD] app_url.o -> app_url.so [LD] app_originate.o -> app_originate.so [CC] ulaw.c -> ulaw.o [CC] utils.c -> utils.o [CC] version.c -> version.o 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 ^ [LD] app_authenticate.o -> app_authenticate.so 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)])) ^~~~ 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 ^ [CC] xml.c -> xml.o 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)])) ^~~~ 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 ^ [CC] xmldoc.c -> xmldoc.o 13 warnings generated. 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: [LD] app_playtones.o -> app_playtones.so note13: warningexpanded from macro 'AST_INLINE_API's generated. # 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_setcallerid.o -> app_setcallerid.so 15 warnings generated. [LD] app_celgenuserevent.o -> app_celgenuserevent.so In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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)])) ^~~~ 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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/hash.c -> hash/hash.o [LD] app_queue.o -> app_queue.so [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o 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 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 #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] hash/hash_buf.c -> hash/hash_buf.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)])) ^~~~ [CC] hash/hash_func.c -> hash/hash_func.o [CC] hash/hash_log2.c -> hash/hash_log2.o 13 warnings generated. 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_dial.o -> app_dial.so [CC] hash/hash_page.c -> hash/hash_page.o [CC] hash/ndbm.c -> hash/ndbm.o 16 warnings generated. [LD] app_record.o -> app_record.so [CC] btree/bt_close.c -> btree/bt_close.o [CC] btree/bt_conv.c -> btree/bt_conv.o [CC] btree/bt_debug.c -> btree/bt_debug.o yes checking whether clang accepts -g... [LD] app_channelredirect.o -> app_channelredirect.so [LD] app_ices.o -> app_ices.so [CC] btree/bt_delete.c -> btree/bt_delete.o [CC] btree/bt_get.c -> btree/bt_get.o yes checking how to run the C preprocessor... clang-cpp checking for mawk... /usr/bin/awk checking host system type... [LD] app_speech_utils.o -> app_speech_utils.so [LD] app_chanspy.o -> app_chanspy.so x86_64--netbsd checking ABI... [CC] btree/bt_open.c -> btree/bt_open.o [LD] app_echo.o -> app_echo.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_zapateller.o -> app_zapateller.so [LD] app_followme.o -> app_followme.so [LD] app_verbose.o -> app_verbose.so 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... [LD] app_playback.o -> app_playback.so [CC] btree/bt_search.c -> btree/bt_search.o [LD] app_directory.o -> app_directory.so [LD] app_disa.o -> app_disa.so [LD] app_mp3.o -> app_mp3.so [CC] btree/bt_seq.c -> btree/bt_seq.o [LD] app_parkandannounce.o -> app_parkandannounce.so [CC] btree/bt_split.c -> btree/bt_split.o [LD] app_getcpeid.o -> app_getcpeid.so yes checking for termcap.h... [LD] app_senddtmf.o -> app_senddtmf.so [LD] app_while.o -> app_while.so [LD] app_milliwatt.o -> app_milliwatt.so [CC] btree/bt_utils.c -> btree/bt_utils.o [CC] db/db.c -> db/db.o [LD] app_exec.o -> app_exec.so [CC] mpool/mpool.c -> mpool/mpool.o [LD] app_readfile.o -> app_readfile.so [LD] app_readexten.o -> app_readexten.so [CC] recno/rec_close.c -> recno/rec_close.o [CC] recno/rec_delete.c -> recno/rec_delete.o 16 warnings generated. [CC] recno/rec_get.c -> recno/rec_get.o [CC] recno/rec_open.c -> recno/rec_open.o [CC] recno/rec_put.c -> recno/rec_put.o 14 warnings generated. [LD] app_stack.o -> app_stack.so [CC] recno/rec_search.c -> recno/rec_search.o [CC] recno/rec_seq.c -> recno/rec_seq.o yes checking for sys/cdefs.h... [CC] recno/rec_utils.c -> recno/rec_utils.o [LD] app_confbridge.o -> app_confbridge.so [LD] app_userevent.o -> app_userevent.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)])) ^~~~ [LD] app_sayunixtime.o -> app_sayunixtime.so 31 warnings generated. [LD] app_transfer.o -> app_transfer.so [LD] app_dumpchan.o -> app_dumpchan.so [LD] app_chanisavail.o -> app_chanisavail.so 13 warnings generated. [LD] app_test.o -> app_test.so [LD] app_nbscat.o -> app_nbscat.so [LD] app_sendtext.o -> app_sendtext.so 13 warnings generated. [LD] app_image.o -> app_image.so [LD] app_softhangup.o -> app_softhangup.so [LD] app_minivm.o -> app_minivm.so [LD] app_voicemail.o -> app_voicemail.so [LD] app_morsecode.o -> app_morsecode.so yes checking for vis.h... [LD] app_system.o -> app_system.so [LD] app_mixmonitor.o -> app_mixmonitor.so [LD] app_festival.o -> app_festival.so [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 [LD] app_privacy.o -> app_privacy.so 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